This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for wireless (blank) Text\Table - properly aligned column…
…s and rows without any visible dividers.
- Loading branch information
1 parent
89b66ed
commit cb5a749
Showing
2 changed files
with
187 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @package Zend_Text | ||
*/ | ||
|
||
namespace Zend\Text\Table\Decorator; | ||
|
||
use Zend\Text\Table\Decorator\DecoratorInterface as Decorator; | ||
|
||
/** | ||
* ASCII Decorator for Zend\Text\Table | ||
* | ||
* @category Zend | ||
* @package Zend_Text_Table | ||
*/ | ||
class Blank implements Decorator | ||
{ | ||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getTopLeft() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getTopRight() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getBottomLeft() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getBottomRight() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getVertical() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getHorizontal() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getCross() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getVerticalRight() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getVerticalLeft() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getHorizontalDown() | ||
{ | ||
return ''; | ||
} | ||
|
||
/** | ||
* Defined by Zend\Text\Table\Decorator\DecoratorInterface | ||
* | ||
* @return string | ||
*/ | ||
public function getHorizontalUp() | ||
{ | ||
return ''; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters