I want to know that where is administarior controller functionn publish and unpublish located ?
I check the file administrator/component/com_eventbooking/views/events/tmpl/default.php
there task value is set by jquery listItemTask() in core.js to publish and unpublish.
But i am unable to find any of these function in administrator or site controller with the name publish() and unpublish()....