Page MenuHomeDevCentral

ClassExtendingPage.tmpl
ActivePublic

Authored by dereckson on Nov 23 2014, 21:33.
<?php
/**
* Represents a page from the %%url%% site.
*/
class %%class%%Page extends Page {
/**
* Analyses the page and extracts metadata
*/
function analyse () {
parent::analyse();
//Here the logic for this specific page
}
}

Event Timeline

dereckson changed the title of this paste from untitled to ClassExtendingPage.tmpl.
dereckson updated the paste's language from autodetect to autodetect.
dereckson updated the paste's language from autodetect to php.
dereckson changed the visibility from "All Users" to "Public (No Login Required)".
dereckson added a project: Nasqueron Tools.