Public Member Functions | |
| ilPaymentExcelWriterAdapter ($a_filename, $a_send=true) | |
| & | getWorkbook () |
| & | getFormatBold () |
| & | getFormatHeader () |
| & | getFormatTitle () |
| & | getFormatDate () |
| __initFormatBold () | |
| __initFormatHeader () | |
| __initFormatTitle () | |
| __initFormatDate () | |
Data Fields | |
| $workbook = null | |
| $format_bold = null | |
| $format_header = null | |
Definition at line 35 of file class.ilPaymentExcelWriterAdapter.php.
| ilPaymentExcelWriterAdapter::__initFormatBold | ( | ) |
Definition at line 86 of file class.ilPaymentExcelWriterAdapter.php.
Referenced by ilPaymentExcelWriterAdapter().
{
$this->format_bold =& $this->workbook->addFormat();
$this->format_bold->setBold();
}
Here is the caller graph for this function:| ilPaymentExcelWriterAdapter::__initFormatDate | ( | ) |
Definition at line 109 of file class.ilPaymentExcelWriterAdapter.php.
{
$this->format_date =& $this->workbook->addFormat();
$this->format_date->setNumFormat("YYYY-MM-DD hh:mm:ss");
}
| ilPaymentExcelWriterAdapter::__initFormatHeader | ( | ) |
Definition at line 91 of file class.ilPaymentExcelWriterAdapter.php.
Referenced by ilPaymentExcelWriterAdapter().
{
$this->format_header =& $this->workbook->addFormat();
$this->format_header->setBold();
$this->format_header->setTop(100);
$this->format_header->setColor('black');
$this->format_header->setPattern(1);
$this->format_header->setFgColor('silver');
}
Here is the caller graph for this function:| ilPaymentExcelWriterAdapter::__initFormatTitle | ( | ) |
Definition at line 100 of file class.ilPaymentExcelWriterAdapter.php.
Referenced by ilPaymentExcelWriterAdapter().
{
$this->format_title =& $this->workbook->addFormat();
$this->format_title->setBold();
$this->format_title->setColor('black');
$this->format_title->setPattern(1);
$this->format_title->setSize(16);
$this->format_title->setAlign('center');
}
Here is the caller graph for this function:| & ilPaymentExcelWriterAdapter::getFormatBold | ( | ) |
Definition at line 68 of file class.ilPaymentExcelWriterAdapter.php.
{
return $this->format_bold;
}
| & ilPaymentExcelWriterAdapter::getFormatDate | ( | ) |
Definition at line 80 of file class.ilPaymentExcelWriterAdapter.php.
{
return $this->format_date;
}
| & ilPaymentExcelWriterAdapter::getFormatHeader | ( | ) |
Definition at line 72 of file class.ilPaymentExcelWriterAdapter.php.
{
return $this->format_header;
}
| & ilPaymentExcelWriterAdapter::getFormatTitle | ( | ) |
Definition at line 76 of file class.ilPaymentExcelWriterAdapter.php.
{
return $this->format_title;
}
| & ilPaymentExcelWriterAdapter::getWorkbook | ( | ) |
Definition at line 63 of file class.ilPaymentExcelWriterAdapter.php.
{
return $this->workbook;
}
| ilPaymentExcelWriterAdapter::ilPaymentExcelWriterAdapter | ( | $ | a_filename, | |
| $ | a_send = true | |||
| ) |
Definition at line 42 of file class.ilPaymentExcelWriterAdapter.php.
References $result, __initFormatBold(), __initFormatHeader(), and __initFormatTitle().
{
$result = @include_once 'Spreadsheet/Excel/Writer.php';
if (!$result)
{
include_once './classes/Spreadsheet/Excel/Writer.php';
}
if($a_send)
{
$this->workbook =& new Spreadsheet_Excel_Writer();
$this->workbook->send($a_filename);
}
else
{
$this->workbook =& new Spreadsheet_Excel_Writer($a_filename);
}
$this->__initFormatBold();
$this->__initFormatHeader();
$this->__initFormatTitle();
}
Here is the call graph for this function:| ilPaymentExcelWriterAdapter::$format_bold = null |
Definition at line 39 of file class.ilPaymentExcelWriterAdapter.php.
| ilPaymentExcelWriterAdapter::$format_header = null |
Definition at line 40 of file class.ilPaymentExcelWriterAdapter.php.
| ilPaymentExcelWriterAdapter::$workbook = null |
Definition at line 37 of file class.ilPaymentExcelWriterAdapter.php.
1.7.1