/** * Builds a new Date Day Sql Export Policy with the given record and the * name of the field that is the DATE field. * * @param IExportFormat $format * @param CActiveRecord $record * @param string $dateFieldName */ public function __construct(IExportFormat $format, CActiveRecord $record, $dateFieldName) { parent::__construct($format, $record); $this->_dateFieldName = $dateFieldName; }