
|
| PntDatabaseConnection |
| PntDbClassDescriptor |
| PntDbError |
| PntDbObject |
| PntQueryHandler |
| Template |
|
| __construct |
| addDbFieldProps |
| addVerifyOnDeleteValues |
| checkValueInOptions |
| copyValuesOf |
| delete |
| getClassDescriptorClass |
| getDeleteErrorMessages |
| getFilters |
| getLabel |
| getLabelSeparator |
| getLabelSort |
| getOnDeleteErrorMessage |
| getOnDeleteProps |
| getPropsForCheckOptions |
| getPropsForRecurseCopy |
| getSaveErrorMessages |
| getTableName |
| getValueNoOptionErrorMessage |
| getValueWithIdNoOptionErrorMessage |
| initFromData |
| initMissingFields |
| initPropertyDescriptors |
| isNew |
| isPersistent |
| loadData |
| newQueryHandler |
| pntDelete |
| pntSacve. If you need to
* do aditional work that ::save normally does, you need to override this |
| recurseCopyFrom |
| recurseDelete |
| registerCopyFrom |
| save |
|
/** Adds fieldProperties for the columns from the database.
* This method assumes column names to be equal to the names
* of their corresponding field properties.
* @param array $includeList names of properties to include
* If omitted, all columns will be used in the order they appear in the table,
* but if a fieldProperty is already defined it is left untouched.
* @param String $tableName the name of the table whose columns to use.
* If omitted, the result of $thisfunction (->()->() is used
* @return array propertyDescriptors that where added, by property name
*/
function addDbFieldProps($includeList=null, $tableName=null) {
if (!$tableName) {
$clsDes = $this->();
$tableName = $clsDes->();
}
$qh = $this->();
return $qh->($this, $tableName, $includeList);
}
|
Copyright (c) MetaClass, 2003- . All rights reserved.
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/ .
|
|