-
Notifications
You must be signed in to change notification settings - Fork 0
/
trql.bcekbo.class.php
173 lines (133 loc) · 6.17 KB
/
trql.bcekbo.class.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?php
/****************************************************************************************/
/*
{PYB} is a shortcut for Patrick Boens
{COMPANY} is a shortcut to "Lato Sensu Management"
{RIGHTS} is a shortcut used by trql.documentor.class.php for
All rights reserved to Lato Sensu Management for all countries.
All Intellectual Property belongs to Patrick Boens.
Other shortcuts exist. They exist to make it simple to change the formulation
of parts that can vary over time.
It does not change the undisputed truth that ALL code has been created by
Patrick Boens, the author, who owns ALL the intellectual property of what
he created.
*/
/** {{{*fheader
{*file trql.bcekbo.class.php *}
{*purpose Set of utility services based on "Banque Carrefour des Entrerprises" *}
{*author {PYB} *}
{*company [br]Lato Sensu Management[br]
Rue Bois des Mazuis, 47[br]
5070 Vitrival[br]
Belgium[br]
[url]http://www.latosensu.be[/url][br]
Vae Soli! : [url]http://www.vaesoli.org[/url] *}
{*cdate 17-08-20 12:52 *}
{*mdate auto *}
{*license Submitted to intellectual property rights (see
author) *}
------------------------------------------------------------------------
Changes History:
------------------------------------------------------------------------
{*chist
{*mdate 17-08-20 12:52 *}
{*author {PYB} *}
{*v 8.0.0000 *}
{*desc 1) Original creation
*}
*}
{*chist
{*mdate 14-02-21 08:55 *}
{*author {PYB} *}
{*v 8.0.0000 *}
{*desc 1) Standardizing the [c]__destruct() method[/c]
*}
*}
*}}} */
/****************************************************************************************/
namespace trql\BCEKBO;
use \trql\quitus\Mother as Mother;
use \trql\vaesoli\Vaesoli as Vaesoli;
use \trql\utility\Utility as Utility;
use \trql\mercator\Mercator as Mercator;
use DOMDocument;
use DOMXPath;
if ( ! defined( 'MOTHER_ABSTRACT_CLASS' ) )
require_once( 'trql.mother.class.php' );
if ( ! defined( 'VAESOLI_CLASS_VERSION' ) )
require_once( 'trql.vaesoli.class.php' );
if ( ! defined( 'UTILITY_CLASS_VERSION' ) )
require_once( 'trql.utility.class.php' );
if ( ! defined( 'MERCATOR_CLASS_VERSION' ) )
require_once( 'trql.mercator.class.php' );
defined( 'BCEKBO_CLASS_VERSION' ) or define( 'BCEKBO_CLASS_VERSION','0.1' );
/* ==================================================================================== */
/** {{*class BCEKBO=
{*desc
Banque Carrefour des Entrerprises
*}
*}}
*/
/* ==================================================================================== */
class BCEKBO extends Utility
/*------------------------*/
{
protected $self = array( 'file' => __FILE__ , /* {*property $self (array) Fixed 'class' information. *} */
'class' => __CLASS__ ,
'name' => null ,
'birth' => null ,
'home' => null ,
'family' => null ,
);
/* ================================================================================ */
/** {{*__construct( [$szHome] )=
Class constructor
{*params
$szHome (string) Home of the class. Optional.
*}
{*return
(self) The current instance of the class
*}
*}}
*/
/* ================================================================================ */
public function __construct()
/*-------------------------*/
{
parent::__construct();
$this->updateSelf( __CLASS__,'/q/common/trql.classes.home/' . basename( __FILE__,'.php' ) );
return ( $this );
} /* End of BCEKBO.__construct() ================================================ */
/* ================================================================================ */
protected function cacheName( $szMethod,$xParams,$xAdditional = null )
/*------------------------------------------------------------------*/
{
$szMethod = str_replace( array( '\\',':','::','..' ),
array( '.' ,'.','.' ,'.' ),
$szMethod );
if ( is_null( $xAdditional ) )
$szCacheFile = vaesoli::FIL_RealPath( $this->szHome . '/' . $szMethod . '.' . md5( serialize( $xParams ) ) . '.cache' );
else
$szCacheFile = vaesoli::FIL_RealPath( $this->szHome . '/' . $szMethod . '.' . md5( serialize( $xParams ) ) . md5( serialize( $xAdditional ) ) . '.cache' );
return ( $szCacheFile );
} /* End of BCEKBO.cacheName() ================================================== */
/* ================================================================================ */
public function search()
/*--------------------*/
{
$this->echo( __METHOD__ . "() is NOT implemented yet" );
} /* End of BCEKBO.search() ===================================================== */
/* ================================================================================ */
public function __destruct()
/*------------------------*/
{
$this->backup();
$this->autodoc();
$this->UIKey();
$this->WikiData();
$this->necroSignaling();
} /* End of BCEKBO.__destruct() ================================================= */
/* ================================================================================ */
} /* End of class BCE =============================================================== */
/* ==================================================================================== */
?>