-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow re-use of StructuredFile data endpoints with external filters (#…
…944) Allow re-use of StructuredFile data endpoints with external filters
- Loading branch information
Showing
20 changed files
with
651 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
<?php | ||
/* ========================================================================================== | ||
/** | ||
* Options (with defaults) supported by all data endpoints. Options specifically defined in this | ||
* class are available and may have verification performed when they are set. Additional options | ||
* may be added if defined in the configuration, but it will be up the the individual endpoint types | ||
* whether or not to use them. We use an array along with the __set() magic method for optimum | ||
* flexibility. | ||
* | ||
* @author Steve Gallo <[email protected]> | ||
* @date 2015-10-15 | ||
* | ||
* @see aOptions | ||
* ========================================================================================== | ||
*/ | ||
|
||
namespace ETL\DataEndpoint; | ||
|
@@ -21,11 +17,10 @@ | |
class DataEndpointOptions extends aOptions | ||
{ | ||
|
||
/* ------------------------------------------------------------------------------------------ | ||
* Constructor. Optionally initialize the options using key/value pairs from an associative array | ||
/** | ||
* Optionally initialize the options using key/value pairs from an associative array | ||
* | ||
* @param $options An optional associative array used to initialize the values of this object | ||
* ------------------------------------------------------------------------------------------ | ||
*/ | ||
|
||
public function __construct(array $options = null) | ||
|
@@ -58,11 +53,13 @@ public function __construct(array $options = null) | |
|
||
parent::__construct($options); | ||
|
||
} // __construct() | ||
} | ||
|
||
/* ------------------------------------------------------------------------------------------ | ||
/** | ||
* Generic setter method for properties not otherwise covered. | ||
* ------------------------------------------------------------------------------------------ | ||
* | ||
* @param string $property The property being set. | ||
* @param mixed $value The value of the property being set. | ||
*/ | ||
|
||
public function __set($property, $value) | ||
|
@@ -86,5 +83,5 @@ public function __set($property, $value) | |
|
||
$this->options[$property] = $value; | ||
return $this; | ||
} // __set() | ||
} // class DataEndpointOptions | ||
} | ||
} |
Oops, something went wrong.