function reportico_datasource($driver = "mysql", $host_name = "localhost", $service_name = "?Unknown?", $server = false, $protocol = false) { reportico_object::reportico_object(); $this->driver = $driver; $this->host_name = $host_name; $this->service_name = $service_name; $this->protocol = $protocol; $this->server = $server; }
function __construct() { reportico_object::reportico_object(); $this->formats = array( "body_style" => "blankline", "after_header" => "blankline", "before_trailer" => "blankline", "after_trailer" => "blankline" ); }
function __construct ( $query_name = "", $table_name = "table_name", $column_name = "column_name", $column_type = "string", $column_length = 0, $column_mask = "MASK", $in_select = true ) { reportico_object::__construct(); $this->query_name = $query_name; $this->table_name = $table_name; $this->column_name = $column_name; $this->column_type = $column_type; $this->column_length = $column_length; $this->column_mask = $column_mask; $this->in_select = $in_select; if ( !($this->query_name) ) $this->query_name = $this->column_name; }