Author: Tobias Schlitt
Date: 2006-01-19 13:03:24 +0100 (Thu, 19 Jan 2006)
New Revision: 1976
Log:
- Fix unreported bug: ezcConsoleTableOptions struct caried deprecated values
and missed 2 in it's constructore.
# Not critical, since this is not intended to be instaciated directly.
Modified:
packages/ConsoleTools/trunk/src/structs/table_options.php
Modified: packages/ConsoleTools/trunk/src/structs/table_options.php
===================================================================
--- packages/ConsoleTools/trunk/src/structs/table_options.php 2006-01-19
10:56:30 UTC (rev 1975)
+++ packages/ConsoleTools/trunk/src/structs/table_options.php 2006-01-19
12:03:24 UTC (rev 1976)
@@ -50,22 +50,6 @@
public $defaultAlign = ezcConsoleTable::ALIGN_LEFT;
/**
- * Standard column content format, applied to cells that have 'default' as
- * the content format.
- *
- * @var string
- */
- public $defaultFormat = 'default';
-
- /**
- * Standard border format, applied to rows that have 'default' as the
- * border format.
- *
- * @var string
- */
- public $defaultBorderFormat = 'default';
-
- /**
* Padding characters for side padding between data and lines.
*
* @var string
@@ -99,20 +83,22 @@
* @var string
*/
public $corner = '+';
-
+
/**
- * Format name to draw normal row lines in.
+ * Standard column content format, applied to cells that have 'default' as
+ * the content format.
*
* @var string
*/
- public $lineFormat = 'default';
+ public $defaultFormat = 'default';
/**
- * Format name to draw head rows in.
+ * Standard border format, applied to rows that have 'default' as the
+ * border format.
*
* @var string
*/
- public $lineFormatHead = 'default';
+ public $defaultBorderFormat = 'default';
/**
* Create a new ezcConsoleProgressbarOptions struct.
@@ -131,8 +117,8 @@
$lineVertical = '-',
$lineHorizontal = '|',
$corner = '+',
- $lineFormat = 'default',
- $lineFormatHead = 'default'
+ $defaultFormat = 'default',
+ $defaultBorderFormat = 'default'
)
{
$this->colWidth = $colWidth;
@@ -143,8 +129,8 @@
$this->lineVertical = $lineVertical;
$this->lineHorizontal = $lineHorizontal;
$this->corner = $corner;
- $this->lineFormat = $lineFormat;
- $this->lineFormatHead = $lineFormatHead;
+ $this->defaultFormat = $defaultFormat;
+ $this->defaultBorderFormat = $defaultBorderFormat;
}
}
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components