Location: PHPKode > projects > Mac's MVC Framework > Application/plugins/CMS/models/CMS_Model.php
<?php
  require_once Config::$siteDir.'models/BaseModel.php';

  class CMS_Model extends BaseModel
  {
    private $cmsDBTablePrefix = "MacsCMS_";

    public function __construct()
    {
      parent::__construct();
    }

    public function getCMSTableName($noPrefixDBTableName)
    {
      return $this->cmsDBTablePrefix.$noPrefixDBTableName;
    }

  }
?>
Return current item: Mac's MVC Framework