NextDom\Managers\UpdateManager
Class UpdateManager
Manage updates
Synopsis
class UpdateManager
extends BaseManager
{
- // constants
- const REPO_CLASS_PATH = '\\NextDom\\Repo\\';
- const DB_CLASS_NAME = '`update`';
- const CLASS_NAME = Update::class;
- // Inherited constants from BaseManager
- const CLASS_NAME = '';
- const DB_CLASS_NAME = '``';
- // Inherited members from BaseManager
- protected static $baseSQL;
- protected static $prefixedBaseSQL;
- // methods
- public static void checkAllUpdate()
- public static void findNewUpdateObject()
- public static Update|null byTypeAndLogicalId()
- public static array byType()
- public static array all()
- public static array getRepoDataFromName()
- public static array listRepo()
- public static array repoById()
- public static bool updateAll()
- public static array byStatus()
- public static array byLogicalId()
- public static int nbNeedUpdate()
- public static array listCoreUpdate()
- // Inherited methods from BaseManager
- protected static string getBaseSQL()
- protected static string getPrefixedBaseSQL()
- // Inherited methods from CommonManager
- public static mixed byId()
- protected static mixed|null getAll()
- public static int getCount()
- protected static mixed|null getAllOrdered()
- protected static mixed|null getOneByClauses()
- protected static mixed|null getMultipleByClauses()
- protected static mixed|null searchOneByClauses()
- protected static mixed|null searchMultipleByClauses()
Hierarchy
Constants
Name | Value |
---|---|
REPO_CLASS_PATH | '\\NextDom\\Repo\\' |
DB_CLASS_NAME | '`update`' |
CLASS_NAME | Update::class |
CLASS_NAME | '' |
DB_CLASS_NAME | '``' |
Members
protected
- $baseSQL — array
- $prefixedBaseSQL — array
Methods
public
- all() — Get all the updates.
- byLogicalId() — Get the bets from its logical identifier
- byStatus() — Get updates by their status
- byType() — Get updates by type
- byTypeAndLogicalId() — Get updates from their type and logicalId
- checkAllUpdate() — Check all updates
- findNewUpdateObject() — Find if new items are presents (installed manually)
- getRepoDataFromName() — Get the class of the repo by the name
- listCoreUpdate() — List core updates
- listRepo() — List of repositories
- nbNeedUpdate() — Get the number of pending updates
- repoById() — Get a repo by its identifier
- updateAll() — Update all items
Inherited from NextDom\Managers\Parents\BaseManager
protected
- getBaseSQL() — Get base of Select SQL
- getPrefixedBaseSQL() — Get prefixed base of Select SQL
Inherited from NextDom\Managers\Parents\CommonManager
protected
- getAll() — Get all objects
- getAllOrdered() — Get all object sorted on column
- getMultipleByClauses() — Get one multiple filtered with clauses
- getOneByClauses() — Get one object filtered with clauses
- searchMultipleByClauses() — Search one multiple filtered with clauses
- searchOneByClauses() — Search one object filtered with clauses
public
- byId() — Get one object by his id
- getCount() — Get count(*).