Class cItemBaseAbstract
Class cItemBaseAbstract. Base class with common features for database based items and item collections.
NOTE: Because of required downwards compatibilitiy all protected/private member variables or methods don't have an leading underscore.
- cGenericDb
- cItemBaseAbstract
Indirect known subclasses
ArticleForum, ArticleForumCollection, cApiArticleCollection, cApiSystemPropertyCollection, cApiTemplate, cApiTemplateCollection, cApiTemplateConfiguration, cApiTemplateConfigurationCollection, cApiType, cApiTypeCollection, cApiUpload, cApiUploadCollection, cApiUploadMeta, cApiArticleLanguage, cApiUploadMetaCollection, cApiUser, cApiUserCollection, cApiUserProperty, cApiUserPropertyCollection, Newsletter, NewsletterCollection, NewsletterJob, NewsletterJobCollection, NewsletterLog, cApiArticleLanguageCollection, NewsletterLogCollection, NewsletterRecipient, NewsletterRecipientCollection, NewsletterRecipientGroup, NewsletterRecipientGroupCollection, NewsletterRecipientGroupMember, NewsletterRecipientGroupMemberCollection, NoteCollection, NoteItem, PifaField, cApiArticleSpecification, PifaFieldCollection, PifaForm, PifaFormCollection, PimPlugin, PimPluginCollection, PimPluginRelations, PimPluginRelationsCollection, TODOCollection, TODOItem, Workflow, cApiArticleSpecificationCollection, WorkflowAction, WorkflowActions, WorkflowAllocation, WorkflowAllocations, WorkflowArtAllocation, WorkflowArtAllocations, WorkflowItem, WorkflowItems, Workflows, WorkflowTask, cApiCategory, WorkflowTasks, WorkflowUserSequence, WorkflowUserSequences, cApiCategoryArticle, cApiCategoryArticleCollection, cApiCategoryCollection, cApiCategoryLanguage, ArticleForumItem, cApiCategoryLanguageCollection, cApiCategoryTree, cApiCategoryTreeCollection, cApiClickableAction, cApiClickableQuestionAction, cApiClient, cApiClientCollection, cApiClientLanguage, cApiClientLanguageCollection, cApiCommunication, cApiAction, cApiCommunicationCollection, cApiContainer, cApiContainerCollection, cApiContainerConfiguration, cApiContainerConfigurationCollection, cApiContent, cApiContentCollection, cApiDbfs, cApiDbfsCollection, cApiFile, cApiActionCollection, cApiFileCollection, cApiFileInformation, cApiFileInformationCollection, cApiFrameFile, cApiFrameFileCollection, cApiFrontendGroup, cApiFrontendGroupCollection, cApiFrontendGroupMember, cApiFrontendGroupMemberCollection, cApiFrontendPermission, cApiActionlog, cApiFrontendPermissionCollection, cApiFrontendUser, cApiFrontendUserCollection, cApiGroup, cApiGroupCollection, cApiGroupMember, cApiGroupMemberCollection, cApiGroupProperty, cApiGroupPropertyCollection, cApiInUse, cApiActionlogCollection, cApiInUseCollection, cApiIso3166, cApiIso3166Collection, cApiIso6392, cApiIso6392Collection, cApiKeyword, cApiKeywordCollection, cApiLanguage, cApiLanguageCollection, cApiLayout, cApiArea, cApiLayoutCollection, cApiMailLog, cApiMailLogCollection, cApiMailLogSuccess, cApiMailLogSuccessCollection, cApiMetaTag, cApiMetaTagCollection, cApiMetaType, cApiMetaTypeCollection, cApiModule, cApiAreaCollection, cApiModuleCollection, cApiNavMain, cApiNavMainCollection, cApiNavSub, cApiNavSubCollection, cApiOnlineUser, cApiOnlineUserCollection, cApiPathresolveCache, cApiPathresolveCacheCollection, cApiProperty, cApiArticle, cApiPropertyCollection, cApiRight, cApiRightCollection, cApiSearchTracking, cApiSearchTrackingCollection, cApiShortUrl, cApiShortUrlCollection, cApiStat, cApiStatCollection, cApiSystemPropertyPackage: Core\GenericDB
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at classes/genericdb/class.item.base.abstract.php
protected
|
#
__construct( string $sTable, string $sPrimaryKey, string $sClassName )
Sets some common properties |
public
string
|
|
protected
|
#
_getSecondDBInstance( )
Returns the second database instance, usable to run additional statements without losing current query results. |
protected
|
#
_getPropertiesCollectionInstance( integer $idclient = 0 )
Returns properties instance, instantiates it if not done before. NOTE: This funtion changes always the client variable of property collection instance. |
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
protected
|
$db |
|
#
Database instance, contains the database object |
protected
|
$secondDb |
|
#
Second DB instance, is required for some additional queries without losing an current existing query result. |
protected
|
$properties |
|
#
Property collection instance |
protected
|
$_oCache |
|
#
Item cache instance |
protected
array
|
$_settings |
|
#
GenericDB settings, see $cfg['sql'] |
protected
string
|
$table |
|
#
Storage of the source table to use for the information |
public
string
|
$primaryKey |
|
#
Storage of the primary key |
public
boolean
|
$virgin |
|
#
Checks for the virginity of created objects. If true, the object is virgin and no operations on it except load-Functions are allowed. |
protected
string
|
$lasterror | '' |
#
Storage of the last occured error |
protected
string
|
$_className |
|
#
Classname of current instance |