ZF-2940: self::NO_ACTION documented but not implimented


"No cascading update is done in the example below if the primary key value in the parent class is changed. The 'onUpdate' element of the reference map entry is self::RESTRICT. You can get the same result using the value self::NO_ACTION, or by omitting the 'onUpdate' entry."

The self::NO_ACTION constant is not defined in Zend_Db_Table_Abstract, but it is documented.

Either a) implement this or b) remove it from the documentation and inform users clearly that if onUpdate and onDelete are not specified, no cascading will be performed. The documentation causes some confusion here - it could be read that by declaring $_dependentTables that cascading WILL happen UNLESS you you specify self::NO_ACTION, but glancing at the source - this does not seem to be the case.


Please categorize/fix as needed.

Reassigning to Ralph since he's the new maintainer of Zend_Db

fixed by dropping the reference to self::NO_ACTION