/**
  * Creates a new instance of this processor.
  *
  * @param   rdbms.finder.FinderMethod
  * @param   rdbms.Criteria c if omitted, the peer's primary key is used
  * @param   text.csv.CellProcessor if omitted, no further processing will be done
  */
 public function __construct(FinderMethod $method, CellProcessor $next = NULL)
 {
     parent::__construct($next);
     $this->method = $method;
 }
示例#2
0
 /**
  * Creates a new instance of this processor.
  *
  * @param   string[] true
  * @param   string[] false
  * @param   text.csv.CellProcessor if omitted, no further processing will be done
  */
 public function __construct($true = array('true', '1', 'Y'), $false = array('false', '0', 'N'), CellProcessor $next = NULL)
 {
     parent::__construct($next);
     $this->true = $true;
     $this->false = $false;
 }
示例#3
0
 /**
  * Creates a new instance of this processor.
  *
  * @param   lang.XPClass<? extends lang.Enum> enum
  * @param   text.csv.CellProcessor if omitted, no further processing will be done
  */
 public function __construct(XPClass $enum, CellProcessor $next = NULL)
 {
     parent::__construct($next);
     $this->enum = $enum;
 }
 /**
  * Creates a new bool formatter
  *
  * @param   string true
  * @param   string false
  * @param   text.csv.CellProcessor if omitted, no further processing will be done
  */
 public function __construct($true = 'true', $false = 'false', CellProcessor $next = NULL)
 {
     parent::__construct($next);
     $this->true = $true;
     $this->false = $false;
 }
 /**
  * Creates a new date formatter
  *
  * @see     xp://util.Date#toString for format string composition
  * @param   string format
  * @param   text.csv.CellProcessor if omitted, no further processing will be done
  */
 public function __construct($format, CellProcessor $next = NULL)
 {
     parent::__construct($next);
     $this->format = $format;
 }