1<?php 2 3/* 4 * This file is part of pgFouine. 5 * 6 * pgFouine - a PostgreSQL log analyzer 7 * Copyright (c) 2006 Open Wide 8 * Copyright (c) 2006-2008 Guillaume Smet 9 * 10 * pgFouine is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or (at 13 * your option) any later version. 14 * 15 * pgFouine is distributed in the hope that it will be useful, but 16 * WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with pgFouine; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. 23 */ 24 25class PostgreSQLVacuumRemovableInformationLine extends PostgreSQLVacuumLogLine { 26 var $numberOfRemovableRows; 27 var $numberOfNonRemovableRows; 28 var $numberOfPages; 29 30 function PostgreSQLVacuumRemovableInformationLine($numberOfRemovableRows, $numberOfNonRemovableRows, $numberOfPages) { 31 $this->PostgreSQLVacuumLogLine(); 32 33 $this->numberOfRemovableRows = $numberOfRemovableRows; 34 $this->numberOfNonRemovableRows = $numberOfNonRemovableRows; 35 $this->numberOfPages = $numberOfPages; 36 } 37 38 function appendTo(& $logObject) { 39 $logObject->setNumberOfRemovableRows($this->numberOfRemovableRows); 40 $logObject->setNumberOfNonRemovableRows($this->numberOfNonRemovableRows); 41 $logObject->setNumberOfPages($this->numberOfPages); 42 } 43} 44 45?>