PublishableBehavior for CakePHP

from blog Brightball Articles, | ↗ original
PublishableBehavior allows the use of datetime fields for start and end ranges on content. Included functionality allows for checking published status, toggling to published / unpublished status, and adding conditions to a find to properly filter those results.