
|
| PntMultiValuePropertyDescriptor |
| PntClassDescriptor |
| PntDerivedPropertyDescriptor |
| PntDescriptor |
| PntEvaluation |
| PntFieldPropertyDescriptor |
| PntMethodInvocation |
| PntNavigation |
| PntObjectNavigation |
| PntPropertyDescriptor |
| PntReflectionError |
|
| setOnDelete |
| deriveUsingPathFor |
| deriveValueFor |
| deriveValueNoCache |
| getCompulsory |
| getDerivationNav |
| getExtraFilter |
| getHoldsDependents |
| getIdPropertyDescriptor |
| getInCopy |
| getMyFilter |
| getOnDelete |
| getOnDeleteLabels |
| getRecurseDelete |
| getTwin |
| getTwinName |
| getVerifyOnDelete |
| isMultiValue |
| mutateRelationFor_ids |
| releaseCacheOn |
| setDerivationPath |
| setInCopy |
| setTwinName |
|
/** Sets what should happen to values of this property if the owning peanut is deleted
* If not set, nothing happens. If set to 'd' the delete will cascade to the property values.
* If set to 'c' the the owning peanut can only be deleted if the property has no values.
* If set to 'v' (verify) the user interface should verify the recursive delete with the user first.
* (in versions earlier then 2.0 this was not implemented)
*/
function ($letter) {
if ($letter !== null && strPos('dvc', $letter) === false)
trigger_error('onDelete letter not recognised', E_USER_WARNING);
$this->onDelete = $letter;
}
|
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/ .
|
|