本文整理汇总了PHP中OMBuilder::applyBehaviorModifier方法的典型用法代码示例。如果您正苦于以下问题:PHP OMBuilder::applyBehaviorModifier方法的具体用法?PHP OMBuilder::applyBehaviorModifier怎么用?PHP OMBuilder::applyBehaviorModifier使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OMBuilder
的用法示例。
在下文中一共展示了OMBuilder::applyBehaviorModifier方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: applyBehaviorModifier
/**
* Checks whether any registered behavior on that table has a modifier for a hook
* @param string $hookName The name of the hook as called from one of this class methods, e.g. "preSave"
* @param string &$script The script will be modified in this method.
*/
public function applyBehaviorModifier($hookName, &$script, $tab = "\t\t")
{
return parent::applyBehaviorModifier($hookName, 'ObjectBuilderModifier', $script, $tab);
}
示例2: applyBehaviorModifier
/**
* Checks whether any registered behavior on that table has a modifier for a hook
* @param string $hookName The name of the hook as called from one of this class methods, e.g. "preSave"
* @param string &$script The script will be modified in this method.
*/
public function applyBehaviorModifier($hookName, &$script, $tab = " ")
{
return parent::applyBehaviorModifier($hookName, 'TableMapBuilderModifier', $script, $tab);
}