forked from phptek/silverstripe-jsontext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify folder structure to match namespaces
* Move JSONText namespace to 'PhpTek\JSONText\ORM\FieldType' to align with "silverstripe/framework" DBString namespace (SilverStripe\ORM\FieldType)
- Loading branch information
Jackson
committed
Mar 27, 2018
1 parent
98220cf
commit 5d08cb7
Showing
15 changed files
with
165 additions
and
165 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
/** | ||
* DB backend for use with the {@link JSONText} DB field. Allows us to use DB-specific JSON query syntax within | ||
* the module. | ||
* | ||
* | ||
* @package silverstripe-jsontext | ||
* @subpackage models | ||
* @author Russell Michell <[email protected]> | ||
|
@@ -14,13 +14,13 @@ | |
namespace PhpTek\JSONText\Backend; | ||
|
||
use PhpTek\JSONText\Exceptions\JSONTextInvalidArgsException; | ||
use PhpTek\JSONText\Fields\JSONText; | ||
use PhpTek\JSONText\ORM\FieldType\JSONText; | ||
use SilverStripe\Core\Config\Configurable; | ||
|
||
abstract class JSONBackend | ||
{ | ||
use Configurable; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
|
@@ -42,7 +42,7 @@ public function __construct($operand, $jsonText) | |
$this->operand = $operand; | ||
$this->jsonText = $jsonText; | ||
} | ||
|
||
/** | ||
* Match on keys by INT. If >1 matches are found, an indexed array of all matches is returned. | ||
* | ||
|
@@ -89,5 +89,5 @@ public function matchOnExpr() | |
|
||
return $fetch; | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.