Entities::Feature - A certain functionality, or just plan feature, that customers can use.
used internally, see L<Entities>
A feature is just a name for some functionality or feature in your webapp, that you want to limit the availability of to certain privileged customers only. A feature is the basis of feature-based authorization.
NOTE: you are not meant to create feature objects directly, but only through the
new_feature() method in Entities.
Creates a new instance of this module. Only 'name' is required.
Returns the ID of the feature, if set.
Returns a true value if the feature has an ID attribute.
Changes the ID of the feature object to a new ID. Should only be used internally.
Returns the name of the feature.
Returns the description text of the feature.
Changes the description of the object to the provided value.
Returns a DateTime object in the time the feature object has been created.
Returns a DateTime object in the last time the feature object has been modified. If a DateTime object is provided, it will be set as the new value of this attribute.
Returns the Entities::Backend instance that stores this object.
The following list documents any method modifications performed through the magic of Moose.
Automatically saves the object to the backend after any method that changed it was executed. Also updates the 'modified' attribute with the current time before saving.
<ido at ido50 dot net>
Please report any bugs or feature requests to
bug-entities at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Entities. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2010-2013 Ido Perlmuter.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.