dfridrich / ejustice
此包已被弃用且不再维护。未建议替代包。
InfoSoud, InfoJednání 和 Isir 服务通信库。
v1.1.3
2016-04-26 14:31 UTC
Requires
- php: >=5.4.0
- dfridrich/ares: ^1.1
- ezyang/htmlpurifier: 4.7.*
- symfony/css-selector: 2.*|3.*
- symfony/dom-crawler: 2.*|3.*
Requires (Dev)
This package is not auto-updated.
Last update: 2016-10-16 09:37:15 UTC
README
InfoSoud, InfoJednání 和 Isir 服务通信库。
使用 Composer 安装
composer require dfridrich/eJustice:1.*
或 composer.json
{ "require": { "dfridrich/eJustice": "1.*" } }
示例
破产验证
<?php require "../vendor/autoload.php"; use Defr\eJustice\Isir; $isir = new Isir(); $result = $isir->find(73263753); // Vyhledani podle IC nebo RC $result->getLinks(); // Seznam odkazu, na kterych jsme hledali $result->getCount(); // Pocet insolvenci $result->getIsirWsCuzkData(); // Instance vsech insolvenci (Defr\eJustice\Isir\Api\isirWsCuzkData[]) $result->getTable(); // Prehledna tabulka se seznamem insolvenci $result->__toString(); // Metoda, ktera vypise tabulku (alias getTable())
在法庭上验证文件标识
<?php require "../vendor/autoload.php"; use Defr\eJustice\InfoSoud; use Defr\eJustice\InfoJednani; use Defr\eJustice\Request; use Defr\eJustice\Constants $infoSoud = new InfoSoud(); $infoJednani = new InfoJednani(); $request = new Request('Obvodní soud pro Prahu 6', '33C2/2015');
我们可以这样创建请求
$request = new Request(); $request->setFileNo('33C2/2015') ->setCourt('Obvodní soud pro Prahu 6');
或者这样
$request = new Request('Obvodní soud pro Prahu 6', '33 C 2 / 2015'); $request = new Request('Obvodní soud v Praze 6', '33 C 2 / 2015'); $request = new Request('Obvodní soud na Praze 6', '33 C 2 / 2015'); $request = new Request('Obvodní soud Praha 6', '33 C 2 / 2015'); $request = new Request(Constants::$courts['OSPHA06'], '33 C 2 / 2015'); $request = new Request('OSPHA06', '33 C 2 / 2015');
案件进度信息
$$response = $infoSoud->getInfo($request); $response->getCount(); // Pocet zmen v soudnim rizeni $response->getChanges(); // Seznam zmen (Defr\eJustice\InfoSoud\InfoSoudRow[]) $response->getLastChange(); // Posledni zmena (Defr\eJustice\InfoSoud\InfoSoudRow) $response->getLastChangeDate(); // Posledni datum zmeny (\DateTime) $response->getLastChangeHash(); // Hash posledni zmeny $response->getState(); // Stav rizeni $response->getTable(); // Prehledna tabulka se seznamem zmen $response->__toString(); // Metoda, ktera vypise tabulku (alias getTable())
已下令行动的信息
$$response = $infoJednani->getInfo($request); $response->getCount(); // Pocet zmen v soudnim rizeni $response->getTerms(); // Seznam zmen (Defr\eJustice\InfoJednani\InfoJednaniRow[]) $response->getInfo(); // Textova informace o jednanich (pokud nejsou narizena jednani, lze ji pouzit misto tabulky) $response->getLastTermDate(); // Posledni narizene jednani (\DateTime) $response->getLastTerm(); // Posledni narizene jednani $response->getLastTermHash(); // Hash posledniho jednani $response->getTable(); // Prehledna tabulka se seznamem zmen $response->__toString(); // Metoda, ktera vypise tabulku (alias getTable())
链接
- InfoSoud - http://infosoud.justice.cz/public/search.jsp
- InfoJednání - http://infojednani.justice.cz/InfoSoud/public/searchJednani.jsp
- 破产登记(ISIR) - https://isir.justice.cz/isir/common/index.do
贡献
对于每一个改进建议我都会感到很高兴 :-)
@待办事项
- Symfony 扩展包