public function act_display_processor($args) { $postdata= array( 'slug' => Utils::slugify( $this->handler_vars['title'] ), 'title' => $this->handler_vars['title'], 'tags' => $this->handler_vars['tags'], 'content' => $this->handler_vars->raw('content'), 'user_id' => User::identify()->id, 'pubdate' => HabariDateTime::date_create($args->handler_vars['date']), 'status' => Post::status( 'published' ), 'content_type' => 1, ); $post= Post::create( $postdata ); $post->info->type= $this->handler_vars['type']; $post->info->severity= $this->handler_vars['severity']; Utils::redirect( 'http://myintarweb.com/tracker/' . $post->slug ); }