Skip to content

Instantly share code, notes, and snippets.

@thefyfy
Created December 16, 2011 08:31
Show Gist options
  • Save thefyfy/1485140 to your computer and use it in GitHub Desktop.
Save thefyfy/1485140 to your computer and use it in GitHub Desktop.
<?php
require_once("inc/class.baseblog.inc.php");
class instanciation extends baseblog
{
protected $m_boblog;
public function __construct()
{
parent::__construct();
}
public function boblog()
{
require_once("inc/class.boblog.inc.php");
if(!isset($this->m_boblog))
{
$this->m_boblog = new boblog($this);
}
return $this->m_boblog;
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment