1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77:
<?php
/**
* Class representing a single row of a icms_ipf_view_Single
*
* @license LICENSE.txt
* @category ICMS
* @package Ipf
* @subpackage View
* @version SVH: $Id: Row.php 10326 2010-07-11 18:54:25Z malanciault $
*/
defined('ICMS_ROOT_PATH') or die('ImpressCMS root path not defined');
/**
* icms_ipf_view_Row class
*
* Class representing a single row of a icms_ipf_view_Single
*
* @category ICMS
* @package Ipf
* @subpackage View
* @author marcan <marcan@smartfactory.ca>
* @todo Properly determine visibility of vars and methods and follow naming convention
*/
class icms_ipf_view_Row {
/**
* @var unknown_type
*/
public $_keyname;
/**
* @var unknown_type
*/
public $_align;
/**
* @var unknown_type
*/
public $_customMethodForValue;
/**
* @var unknown_type
*/
public $_header;
/**
* @var unknown_type
*/
public $_class;
/**
* The constructor
*
* @param $keyname
* @param $customMethodForValue
* @param $header
* @param $class
*/
public function __construct($keyname, $customMethodForValue = false, $header = false, $class = false) {
$this->_keyname = $keyname;
$this->_customMethodForValue = $customMethodForValue;
$this->_header = $header;
$this->_class = $class;
}
/**
* Accessor for the keyname var
*/
public function getKeyName() {
return $this->_keyname;
}
/**
* Accessor for the header var
*/
public function isHeader() {
return $this->_header;
}
}