dependentTable = $dependentTable; $this->ruleKey = $ruleKey; } public function findParentRow($parentTable, $ruleKey = null, Zend_Db_Table_Select $select = null) { $this->parentTable = $parentTable; $this->ruleKey = $ruleKey; } public function findManyToManyRowset($matchTable, $intersectionTable, $callerRefRule = null, $matchRefRule = null, Zend_Db_Table_Select $select = null) { $this->matchTable = $matchTable; $this->intersectionTable = $intersectionTable; $this->callerRefRuleKey = $callerRefRule; $this->matchRefRuleKey = $matchRefRule; } protected function _transformColumn($columnName) { // convert 'columnFoo' to 'column_foo' $columnName = strtolower(preg_replace('/([A-Z])/', '_$1', $columnName)); return $columnName; } }