function define($object_name = FALSE, $context = FALSE) { if (strlen($object_name) > 20) { throw new Exception("The custom post name can be no longer than 20 characters long"); } parent::define($object_name, $context); $this->add_mixin('Mixin_CustomPost_DataMapper_Driver'); $this->implement('I_CustomPost_DataMapper'); }
function define($object_name, $context = FALSE) { parent::define($object_name, $context); $this->add_mixin('Mixin_CustomPost_DataMapper_Driver'); $this->implement('I_CustomPost_DataMapper'); }