Maslosoft Mangan API
Class Finder
Basic Finder implementation
- Maslosoft\Mangan\Abstracts\AbstractFinder implements Maslosoft\Mangan\Interfaces\FinderInterface, Maslosoft\Mangan\Interfaces\ModelAwareInterface uses Maslosoft\Mangan\Traits\ModelAwareTrait
- Maslosoft\Mangan\Finder uses Maslosoft\Mangan\Traits\Finder\FinderHelpers
Direct known subclasses
Methods summary
public
|
#
__construct( object $model,
Constructor |
public static
|
#
create( Maslosoft\Addendum\Interfaces\AnnotatedInterface $model,
Create model related finder. This will create customized finder if defined in model with Finder annotation. If no custom finder is defined this will return default Finder. |
Methods inherited from Maslosoft\Mangan\Abstracts\AbstractFinder
count()
,
countByAttributes()
,
exists()
,
find()
,
findAll()
,
findAllByAttributes()
,
findAllByPk()
,
findByAttributes()
,
findByPk()
,
getAdapter()
,
getFinderEvents()
,
getProfiler()
,
getScopeManager()
,
isWithCursor()
,
resetScope()
,
setAdapter()
,
setFinderEvents()
,
setProfiler()
,
setScopeManager()
,
withCursor()
Methods inherited from Maslosoft\Mangan\Interfaces\ModelAwareInterface
Methods used from Maslosoft\Mangan\Traits\Finder\FinderHelpers
getAdapter()
,
getFinderEvents()
,
getProfiler()
,
getScopeManager()
,
setAdapter()
,
setFinderEvents()
,
setProfiler()
,
setScopeManager()
Methods used from Maslosoft\Mangan\Traits\ModelAwareTrait
Constants summary
Constants inherited from Maslosoft\Mangan\Interfaces\FinderInterface
EventAfterCount
,
EventAfterExists
,
EventAfterFind
,
EventBeforeCount
,
EventBeforeExists
,
EventBeforeFind