|
PntDatabaseConnection |
PntDbClassDescriptor |
PntDbError |
PntDbObject |
PntQueryHandler |
Template |
|
__construct |
_getDescribedClassInstanceForData |
_getPeanutsRunQueryHandler |
_loadMissingFields |
addPropertyDescriptor |
addReferenceFilters |
checkPolyClassName |
getAllFieldsFilter |
getDefaultFilters |
getDescribedClassInstanceForData |
getFieldFilters |
getFieldMap |
getFieldMapForTable |
getFieldMapPrefixed |
getFilters |
getLabelSort |
getPeanutWithId |
getPeanuts |
getPeanutsAccordingTo |
getPeanutsCount |
getPeanutsRunQueryHandler |
getPeanutsWith |
getPersistentFieldPropertyDescriptors |
getPersistentRelationPropertyDescriptors |
getPersistentValuePropertyDescriptors |
getSelectQueryHandler |
getSelectQueryHandlerFor |
getSimpleQueryHandler |
getTableMap |
getTableName |
getVerifyOnDelete |
initTableMap |
loadMissingFields |
peanutCached |
peanutDeleted |
peanutInserted |
setPolyClassesAllowed |
setPolymorphismPropName |
|
<?php
/* Copyright (c) MetaClass, 2003-2013
Distrubuted and licensed under under the terms of the GNU Affero General Public License
version 3, or (at your option) any later version.
This program is distributed WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License, http://www.gnu.org/licenses/agpl.txt */
Gen::includeClass('', 'pnt/meta');
Gen::includeClass('QueryHandler');
Gen::includeClass('PntNavigation', 'pnt/meta');
/** ClassDescriptor for persistent peanuts.
* Retrieves peanuts from the database. Generates PntSqlFilters for searching.
* ClassDescriptor: @see http://www.phppeanuts.org/site/index_php/Pagina/96
* Persistency: @see http://www.phppeanuts.org/site/index_php/Menu/206
* Override or reimplement this class to adapt persistency or create your own,
* @see http://www.phppeanuts.org/site/index_php/Pagina/52
* @package pnt/db
*/
class PntDbClassDescriptor extends {
/** Name of property that holds class name for polymorhism support */
public $polymorphismPropName = null;
// just for caching
public $tableName;
public $fieldMap;
public $peanutsById;
public $polyClassesAllowed;
public $labelSort;
public $tableMap;
public $fieldMapPrefixed;
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|