Package: Record\Mixin
Adds default behavior associated with the ‘public’ and ‘featured’ flags.
Constructor
Parameters: |
|
---|
Returns whether the record is public or not.
Returns: | boolean |
---|
Sets whether the record is public or not.
Parameters: |
|
---|
Returns whether the record is featured or not.
Returns: | boolean |
---|
Sets whether the record is featured or not.
Parameters: |
|
---|
Parameters: |
|
---|
Parameters: |
|
---|
Fires a hooks like ‘make_item_public’, ‘make_collection_not_featured’, etc.
Parameters: |
|
---|
Retrieve formatted hooks like ‘make_item_public’, ‘make_collection_not_featured’, etc.
Parameters: |
|
---|---|
Returns: | string The hook name |