array getMixableMethods(
[
$mixer = null])
|
|
Get the methods that are available for mixin based
This function conditionally mixes the behavior. Only if the mixer has a 'slug' property the behavior will be mixed in.
Tags:
Overrides
KDatabaseBehaviorAbstract::getMixableMethods() (Get the methods that are available for mixin based)
Parameters:
void _canonicalizeSlug(
)
|
|
Make sure the slug is unique
This function checks if the slug already exists and if so appends a number to the slug to make it unique. The slug will get the form of slug-x.
Tags:
void _initialize(
$config)
|
|
Initializes the options for the object
Called from __construct() as a first step of object instantiation.
Tags:
Overrides
KBehaviorAbstract::_initialize() (Initializes the options for the object)
Parameters: