Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4793066
liberation.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
498 B
Referenced Files
None
Subscribers
None
liberation.php
View Options
<?php
class
LiberationPage
extends
Page
{
function
analyse
()
{
parent
::
analyse
();
//Hardcoded known info
$this
->
site
=
"[[Libération (journal)|Libération]]"
;
//Gets date
// e.g. http://www.liberation.fr/france/2016/06/02/affiches...
$pos
=
strpos
(
$this
->
url
,
"/20"
);
$this
->
yyyy
=
substr
(
$this
->
url
,
$pos
+
1
,
4
);
$this
->
mm
=
substr
(
$this
->
url
,
$pos
+
6
,
2
);
$this
->
dd
=
substr
(
$this
->
url
,
$pos
+
9
,
2
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Feb 28, 21:39 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2445772
Default Alt Text
liberation.php (498 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment