| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/boutiques/app/code/community/AsiaConnect/FreeCms/Model/ |
Upload File : |
<?php
class AsiaConnect_FreeCms_Model_Page extends Mage_Core_Model_Abstract
{
const NOROUTE_PAGE_ID = 'no-route';
protected $_eventPrefix = 'cms_page';
protected function _construct()
{
$this->_init('cms/page');
}
public function load($id, $field=null)
{
if (is_null($id)) {
return $this->noRoutePage();
}
return parent::load($id, $field);
}
public function noRoutePage()
{
$this->setData($this->load(self::NOROUTE_PAGE_ID, $this->getIdFieldName()));
return $this;
}
public function checkIdentifier($identifier, $storeId)
{
return $this->_getResource()->checkIdentifier($identifier, $storeId);
}
}