public function connection($conn = null) { if ($conn === null) { return $this->_connection; } return $this->_connection = $conn; }