/** * Instantiate class * @param string $sessionID Session ID * @return */ public function __construct($sessionID = FALSE) { // Call parent parent::__construct(); // Set session ID $this->sessionID = $sessionID; }
public function __construct() { parent::__construct(); $this->set('date_created', date('d/m/Y')); $this->set('database', $this->db->getDatabaseName()); if (defined('AUTHOR_NAME')) { $this->set('author', AUTHOR_NAME); } if (defined('AUTHOR_EMAIL')) { $this->set('email', AUTHOR_EMAIL); } if (defined('AUTHOR_URL')) { $this->set('link', AUTHOR_URL); } if (defined('AUTHOR_COPYRIGHT')) { $this->set('copyright', AUTHOR_COPYRIGHT); } }