| [WORKING] mosDBTable->canDelete |
|
Last reviewed: Not reviewed mosDBTable->canDeleteChecks whether it is safe to delete a record from the table by checking whether dependancies exist for this record in the database schema. It does this by performing a join between this table and the tables to be checked. If the join returns an empty result set then it should be safe to delete the record. This function may be overloaded/supplemented by the child class as required. Syntaxboolean canDelete ( [ int $id [, array $joins ]] )
ExamplesPlease report any errors on this page to the Developer Documentation Forum. |
|
| Last Updated ( Sunday, 24 December 2006 ) |