This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from bjorvack/rubbens-update
Rubbens update
- Loading branch information
Showing
25 changed files
with
851 additions
and
681 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,10 +1,11 @@ | ||
<?php | ||
|
||
namespace TijsVerkoyen\DBFact; | ||
|
||
/** | ||
* DBFact Exception class | ||
* | ||
* @author Tijs Verkoyen <[email protected]> | ||
* @author Tijs Verkoyen <[email protected]> | ||
*/ | ||
class Exception extends \Exception | ||
{ | ||
|
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,10 +1,11 @@ | ||
<?php | ||
|
||
namespace TijsVerkoyen\DBFact\Types; | ||
|
||
/** | ||
* DBFact Appendices class | ||
* | ||
* @author Tijs Verkoyen <[email protected]> | ||
* @author Tijs Verkoyen <[email protected]> | ||
*/ | ||
class Appendices extends BaseObject | ||
{ | ||
|
@@ -23,9 +24,9 @@ class Appendices extends BaseObject | |
* | ||
* @var array | ||
*/ | ||
protected $typeMap = array( | ||
'Collection' => array( | ||
'Appendix' | ||
), | ||
); | ||
protected $typeMap = [ | ||
'Collection' => [ | ||
'Appendix', | ||
], | ||
]; | ||
} |
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,10 +1,11 @@ | ||
<?php | ||
|
||
namespace TijsVerkoyen\DBFact\Types; | ||
|
||
/** | ||
* DBFact Appendix class | ||
* | ||
* @author Tijs Verkoyen <[email protected]> | ||
* @author Tijs Verkoyen <[email protected]> | ||
*/ | ||
class Appendix extends BaseObject | ||
{ | ||
|
@@ -83,12 +84,12 @@ class Appendix extends BaseObject | |
* | ||
* @var array | ||
*/ | ||
protected $typeMap = array( | ||
'int' => array( | ||
protected $typeMap = [ | ||
'int' => [ | ||
'FileSizeInBytes', | ||
), | ||
'DateTime' => array( | ||
], | ||
'DateTime' => [ | ||
'DateTime', | ||
), | ||
); | ||
], | ||
]; | ||
} |
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,10 +1,11 @@ | ||
<?php | ||
|
||
namespace TijsVerkoyen\DBFact\Types; | ||
|
||
/** | ||
* DBFact Article class | ||
* | ||
* @author Tijs Verkoyen <[email protected]> | ||
* @author Tijs Verkoyen <[email protected]> | ||
*/ | ||
class Article extends BaseObject | ||
{ | ||
|
@@ -203,14 +204,14 @@ class Article extends BaseObject | |
* | ||
* @var array | ||
*/ | ||
protected $typeMap = array( | ||
'float' => array( | ||
protected $typeMap = [ | ||
'float' => [ | ||
'KortExclBtw', 'KortInclBtw', 'NettoExclBtw', 'NettoInclBtw', | ||
'BrutoExclBtw', 'BrutoInclBtw', 'a_winkel', 'a_winkelinclkosten', | ||
'a_inkoop', 'a_vrystock', 'a_winex', 'a_basisex', 'a_dealer', | ||
'a_aanbevol', 'a_minverk', 'a_prijs1', 'a_prijs2', 'a_prijs3', | ||
'a_prijs4', 'a_prijs5', 'a_btwcode', 'a_maxkort', 'a_minmarge', | ||
'a_maat', 'a_typsamen', 'b_btw1', 'originkoop' | ||
), | ||
); | ||
'a_maat', 'a_typsamen', 'b_btw1', 'originkoop', | ||
], | ||
]; | ||
} |
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,10 +1,11 @@ | ||
<?php | ||
|
||
namespace TijsVerkoyen\DBFact\Types; | ||
|
||
/** | ||
* DBFact Artikel class | ||
* | ||
* @author Tijs Verkoyen <[email protected]> | ||
* @author Tijs Verkoyen <[email protected]> | ||
*/ | ||
class Artikel extends BaseObject | ||
{ | ||
|
@@ -393,11 +394,11 @@ class Artikel extends BaseObject | |
* | ||
* @var array | ||
*/ | ||
protected $typeMap = array( | ||
'array' => array( | ||
'Images', 'Appendices', 'Barcodes' | ||
), | ||
'float' => array( | ||
protected $typeMap = [ | ||
'array' => [ | ||
'Images', 'Appendices', 'Barcodes', | ||
], | ||
'float' => [ | ||
'Stock', 'MinimumStock', 'NominaleStock', | ||
'VeldN1', 'VeldN2', 'VeldN3', 'VeldN4', 'VeldN5', | ||
'BtwPercentage', | ||
|
@@ -406,17 +407,17 @@ class Artikel extends BaseObject | |
'Inhoud', | ||
'M3', | ||
'VerpakkingsGewicht', 'BrutoGewichtInKg', 'NettoGewichtInKg', | ||
), | ||
'int' => array( | ||
], | ||
'int' => [ | ||
'VerpakkingsLengte', 'VerpakkingsBreedte', 'VerpakkingsHoogte', | ||
'ArtikelLengte', 'ArtikelBreedte', 'ArtikelHoogte', | ||
), | ||
'DateTime' => array( | ||
], | ||
'DateTime' => [ | ||
'CreatieDat', 'VerwachtDat', | ||
'VeldD1', 'VeldD2', 'VeldD3', 'VeldD4', 'VeldD5', | ||
), | ||
'Custom' => array( | ||
], | ||
'Custom' => [ | ||
'Prijzen', 'Kosten', 'WebFiche', | ||
), | ||
); | ||
], | ||
]; | ||
} |
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.