'Constructor
@param show_link: render representation as link to the task
@param show_project: show the project name in the representation
@param project_first: show the project name before the task name'

def __init__(self, show_link=False, show_project=False, project_first=True):

    task_url = URL(c='project', f='task', args=['[id]'])
    super(project_TaskRepresent, self).__init__(lookup='project_task', show_link=show_link, linkto=task_url)
    self.show_project = show_project
    if show_project:
        self.project_represent = S3Represent(lookup='project_project')
    self.project_first = project_first
