本文整理汇总了PHP中Constants::getXMLFilename方法的典型用法代码示例。如果您正苦于以下问题:PHP Constants::getXMLFilename方法的具体用法?PHP Constants::getXMLFilename怎么用?PHP Constants::getXMLFilename使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Constants
的用法示例。
在下文中一共展示了Constants::getXMLFilename方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger, $utvSakDAO, $utvBehDoDAO)
{
parent::__construct(Constants::getXMLFilename('UTVBEH'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select UTVID, BEHID, JOURAARNR, BEHNR, MOTEID, SAKSNR, SAKSAAR, STATUS, PROTOKOLL from " . $SRC_TABLE_NAME . "";
$this->utvSakDAO = $utvSakDAO;
$this->utvBehDoDAO = $utvBehDoDAO;
}
示例2: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger, $ordVerdDAO, $merknadDAO)
{
parent::__construct(Constants::getXMLFilename('NOARKSAK'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->ordVerdDAO = $ordVerdDAO;
$this->merknadDAO = $merknadDAO;
$this->selectQuery = "select JOURAARNR, JOURAAR, JOURNR, PAPIR, AAPNET, INNH1, INNH2, MERKNAD, U1, STATUS, FYSARK, FRAARKDEL, SAKTYPE, SAKART, JOURENHET, OTYPE, OKODE1, UNAVN, ADMID, SBHID, UNNTOFF, HJEMMEL from " . $SRC_TABLE_NAME . "";
}
示例3: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('TLKODE'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select TILLEGSK, EKODE3, ETEXT3 from " . $SRC_TABLE_NAME . " group by TILLEGSK, EKODE3, ETEXT3 ORDER BY TILLEGSK";
$this->logger->log($this->XMLfilename, "Created based on following query. select TILLEGSK, EKODE3, ETEXT3 from dgjmjo group by TILLEGSK, EKODE3, ETEXT3 ORDER BY TILLEGSK", Constants::LOG_INFO);
$this->logger->log($this->XMLfilename, "This will not be correct if tilleggskoder are used that are not part of K-Koder. Manual check in DGJMJO.TILLEGSK advised.", Constants::LOG_TODO);
}
示例4: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('UTVMOTE'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select ID, MOTENR, UTVID, LUKKET, MOTEDATO, MOTETID, FRIST, SAKSKART, PROTOKOLL, JOURAARNR FROM " . $SRC_TABLE_NAME . "";
// Yes $SRC_TABLE_NAME is wrong but I need to finish this!!!
$this->utvMoteDokDAO = new UtvMoteDokDAO($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
}
示例5: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $kommuneName, $logger)
{
parent::__construct(Constants::getXMLFilename('DOKLINK'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectFromFilerQuery = "select REFAARNR, DOKID, FILNOKKEL, OPPRETTETDATO, OPPRETTETAVID, FILNR, AKTIV from FILER WHERE REFAARNR = '";
$this->selectFromVedleggQuery = "select REFAARNR, VEDLNR, BESKRIVELSE, DOKID, DOKNAVN, DOKODE, TKDATO, TKAV, PAPIR, LOKPAPIR, DOKSTATUS, DOKKAT, PNID, GRUPPE, GRUPPEID, UNNTOFF, HJEMMEL, AVGRADER, AGDATO from DGJMVEDLEGG WHERE REFAARNR = '";
$this->kommuneName = $kommuneName;
$this->dokVersDAO = new DokVersDAO($this->srcBase, $this->uttrekksBase, "", $kommuneName, $logger);
$this->dokBeskDAO = new DokBeskDAO($this->srcBase, $this->uttrekksBase, "", $kommuneName, $logger);
}
示例6: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('EMNEORD'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
}
示例7: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('TGGRP'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select FULLTNAVN, GRUPPEID, OPPRAVID, FRADATO, TILDATO, CTYPE from " . $SRC_TABLE_NAME . "";
}
示例8: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $kommuneName, $logger)
{
parent::__construct(Constants::getXMLFilename('DOKBESK'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->kommuneName = $kommuneName;
}
示例9: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('EARKKODE'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select EKODE, STIKKORD FROM " . $SRC_TABLE_NAME . "";
$this->emneOrd = new EmneOrdDAO($srcBase, $uttrekksBase, "UNKNOWN", $logger);
}
示例10: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('POLSAKG'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select JOURAARNR, BEHTYPE, KLAGE, LUKKET, HJEMMEL, AAPNET, AVSLUTTET, MERKNAD FROM " . $SRC_TABLE_NAME . " WHERE BEHTYPE = 'PS'";
}
示例11: DokVersDAO
public function DokVersDAO($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $kommuneName, $logger)
{
parent::__construct(Constants::getXMLFilename('DOKVERS'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
}
示例12: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('UTVMOTEDOK'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->docCounter = 0;
}
示例13: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('AVGRKODE'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select AVGRADER, BESKRIVELSE from " . $SRC_TABLE_NAME . "";
$this->logger = $logger;
}
示例14: processTable
function processTable()
{
$this->srcBase->createAndExecuteQuery($this->selectQuery);
$counter = 1;
$dokLinkDAO = new DokLinkDAO($this->srcBase, $this->uttrekksBase, Constants::getXMLFilename('JOURNPST'), $this->kommuneName, $this->logger);
while ($result = $this->srcBase->getQueryResult($this->selectQuery)) {
$journPst = new JournPst();
// TODO : Do I ned this??
// if (substr($noarkJP->JP_ID, 0 , 2) > 30)
// $journPst->JP_ID = "19" . $result['REFAARNR'];
// else
// $journPst->JP_ID = "20" . $result['REFAARNR'];
$journPst->JP_ID = $result['REFAARNR'];
$journPst->JP_JAAR = $result['JOURAAR'];
$journPst->JP_SEKNR = $result['REFNR'];
$journPst->JP_SAID = $result['JOURAARNR'];
// TODO : Do I ned this??
// if (substr($result['JOURAARNR'], 0, 2) > 30)
// $journPst->JP_SAID = "19" . $result['JOURAARNR'];
// else
// $journPst->JP_SAID = "20" . $result['JOURAARNR'];
$journPst->JP_JDATO = Utility::fixDateFormat($result['REGDATO']);
if (isset($result['TYPE']) == true) {
$journPst->JP_NDOKTYPE = $result['TYPE'];
} else {
$journPst->JP_NDOKTYPE = Constants::DOKTYPE_IKKE_ANNGITT;
$this->logger->log($this->XMLfilename, "JOURNALPOST JP_ID (" . $journPst->JP_ID . ") has null for JP.NDOKTYPE. Setting JP.NDOKTYPE to IA which stands for IKKE ANGITT. ", Constants::LOG_WARNING);
$this->warningIssued = true;
}
$journPst->JP_DOKDATO = $result['DATERT'];
$journPst->JP_UDATERT = 0;
// $result['']; // TODO, why 0
if (strcmp($result['STATUS'], '?') == 0) {
$this->logger->log($this->XMLfilename, "JOURNALPOST JP_ID (" . $journPst->JP_ID . ") has status (" . $result['STATUS'] . ") Setting status to AVSLUTTET ", Constants::LOG_WARNING);
$this->warningIssued = true;
$journPst->JP_STATUS = 'A';
} else {
$journPst->JP_STATUS = $result['STATUS'];
}
$journPst->JP_INNHOLD = mysql_real_escape_string($result['INNH1']) . mysql_real_escape_string($result['INNH2']);
if (isset($result['INNH1']) == false && isset($result['INNH2']) == false) {
$journPst->JP_INNHOLD = "Ingen beskrivelse tigjenlig i kilde databasen";
$this->logger->log($this->XMLfilename, "JOURNALPOST JP_ID (" . $journPst->JP_ID . ") is missing JP_INNHOLD. Set to 'Ingen beskrivelse tigjenlig i kilde databasen'", Constants::LOG_WARNING);
$this->warningIssued = true;
}
// Check field isn't just whitespave
if (strlen($journPst->JP_INNHOLD) > 0 && strlen(trim($journPst->JP_INNHOLD)) == 0) {
$journPst->JP_INNHOLD = "Mangler innhold fra ESA. Bare mellomrom var innhold";
$this->logger->log($this->XMLfilename, "JOURNALPOST JP_ID (" . $journPst->JP_ID . ") JP_INNHOLD only contains whitespace. Set to 'Mangler innhold fra ESA. Bare mellomrom var innhold'", Constants::LOG_WARNING);
$this->warningIssued = true;
}
if (isset($result['U1']) == true) {
$journPst->JP_U1 = $result['U1'];
} else {
$journPst->JP_U1 = '0';
}
$journPst->JP_AVSKDATO = Utility::fixDateFormat($result['AVSKRDATO']);
$journPst->JP_FORFDATO = Utility::fixDateFormat($result['SVARFRIST']);
$journPst->JP_UOFF = $result['HJEMMEL'];
$journPst->JP_OVDATO = null;
$journPst->JP_AGDATO = null;
$journPst->JP_AGKODE = "";
$journPst->JP_JPOSTNR = '1';
$journPst->JP_TGKODE = $result['UNNTOFF'];
$journPst->JP_TGGRUPPE = "";
// $journPst->JP_OVDATO = Utility::fixDateFormat($result['']);
// $journPst->JP_AGDATO = Utility::fixDateFormat($result['']);
$journPst->JP_PAPIR = $result['PAPIR'];
if ($result['VEDLEGG'] != null) {
$journPst->JP_ANTVED = $result['VEDLEGG'];
} else {
$journPst->JP_ANTVED = 0;
}
$this->writeToDestination($journPst);
$dokLinkDAO->processDokLinks($journPst, $result['SBHID'], $result['DOKKAT'], $result['PAPIR'], $result['LOKPAPIR'], $result['DOKSTATUS']);
// processDokBeskriv($journPst, $filerInfo);
// processDokVers($journPst, $filerInfo);
$register = "S";
/* $nokkel = $result->SA_ID;
$untoff = $result->SA_TGKODE;
$gruppeId = $result->SA_TGGRUPPE;
$merknad = $result['MERKNAD'];
$sbhId = $noarkSak->SA_ANSVID;
//$this->merknad->processMerknadFromSakOrJP($register, $nokkel, $untoff, $gruppeId, $merknad, $sbhId);
*/
if ($counter++ % Constants::DOT_MARKER_COUNT == 0) {
echo ".";
}
}
$this->srcBase->endQuery($this->selectQuery);
}
示例15: __construct
public function __construct($srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger)
{
parent::__construct(Constants::getXMLFilename('SAKPART'), $srcBase, $uttrekksBase, $SRC_TABLE_NAME, $logger);
$this->selectQuery = "select REFAARNR, U1, NAVN, NAVNKODE, ADRESSE, ADRESSE2, POSTNR, POSTSTED, EPOSTADR, KONTAKT, ADRGRUPPE, FAX, TELEFON, LAND FROM " . $SRC_TABLE_NAME . " WHERE REGISTER = 'S'";
}