Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768861
worldcat.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
581 B
Referenced Files
None
Subscribers
None
worldcat.php
View Options
<?php
class
WorldCatPage
extends
Page
{
function
analyse
()
{
parent
::
analyse
();
if
(
substr
(
$this
->
url
,
0
,
30
)
==
"http://www.worldcat.org/title/"
&&
preg_match
(
"@/oclc/([0-9]*)@"
,
$this
->
url
,
$matches
))
{
$this
->
switchTo
=
[
'document'
=>
[
'class'
=>
'Book'
,
'params'
=>
[
'OCLC'
=>
$matches
[
1
]
],
'method'
=>
'queryWorldCatFromOCLC'
,
],
'template'
=>
'book'
,
];
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 25, 11:01 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260043
Default Alt Text
worldcat.php (581 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment