![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-07-07 (Less than 1 hour ago) ![]() | Not yet rated by the users | Total: 47 | All time: 9,835 This week: 86![]() |
Version | License | PHP version | Categories | |||
asit 1.0 | GNU Lesser Genera... | 5 | PHP 5, Data types |
Description | Author | |
This package can manage collections of elements stored in arrays. |
[comment]: # (This file is part of Asit, manages array collections. Copyright 2020 Kjell-Inge Gustafsson, kigkonsult, All rights reserved, licence LGPL 3.0)
> Class It manages array collections * Implement _SeekableIterator_, _Countable_ and _IteratorAggregate_ methods * Collection elements are searchable using * Iterator (et al.) methods * The collection element may be of any value type
>Class ItList * Extends _It_ * Assure collection elements of expected valueType
> Class Asit manages assoc array collections * Extends _It_ * The assoc element array key is used as (unique) primary key * A primary key may be replaced by another (unique) key * Has primary key collection element get-/set-methods * Collection elements are also searchable using * primary key(s) * For non-assoc arrays, * primary key is the (numeric) array index
>Class AsitList * Extends _Asit_ * Assure collection elements of expected valueType
> Class Asmit * Extends _Asit_ * Allow multiple (unique) primary keys for (each)) collection element
>Class Asittag * Extends _Asit_ * Also secondary keys, additional (non-unique) tags (aka attributes?) may be set for each element * Collection elements are also searchable using * tag(s) * primary key(s) + tag(s)
>Class AsittagList * Extends _Asittag_ * Assure collection elements of expected valueType
>Class Asmittag * Extends _Asmit_ * Also secondary keys, additional (non-unique) tags (aka attributes?) may be set for each element * Collection elements are searchable using * Iterator (et al.) methods * primary key(s) * tag(s) * primary key(s) + tag(s)
>Class AsmittagList * Extends _Asmittag_ * Assure collection elements of expected valueType
But, review pros and cons not using some PHP built-in iterator class, ex [ArrayIterator]!
Donation using <a href="https://paypal.me/kigkonsult?locale.x=en_US" rel="nofollow">paypal.me/kigkonsult</a> are appreciated. For invoice, <a href="mailto:ical@kigkonsult.se">please e-mail</a>.
composer require kigkonsult/asit:dev-master
Composer, in your composer.json
:
{
"require": {
"kigkonsult/asit": "dev-master"
}
}
Composer, acquire access
use Kigkonsult\Asit\Asit;
...
include 'vendor/autoload.php';
Otherwise , download and acquire
use Kigkonsult\Asit\Asit;
...
include 'pathToSource/kigkonsult/Asit/autoload.php';
For support go to [github.com Asit]
This project is licensed under the LGPLv3 License
[ArrayIterator]:https://www.php.net/manual/en/class.arrayiterator [Asit/Asmit]:docs/AsitSummary.md [Asittag/Asmittag]:docs/AsittagSummary.md [Composer]:https://getcomposer.org/ [github.com Asit]:https://github.com/iCalcreator/Asit [It]:docs/ItSummary.md [List]:docs/ListSummary.md
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Doc. | 1.3.3 | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.