namespace = 'wp/v2'; $this->rest_base = 'statuses'; } /** * Registers the routes for post statuses. * * @since 4.7.0 * * @see register_rest_route() */ public function register_routes() { register_rest_route( $this->namespace, '/' . $this->rest_base, array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_items' ), 'permission_callback' => array( $this, 'get_items_permissions_check' ), 'args' => $this->get_collection_params(), ), 'schema' => array( $this, 'get_public_item_schema' ), ) ); register_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P[\w-]+)', array( 'args' => array( 'status' => array( 'description' => __( 'An alphanumeric identifier for the status.' ), 'type' => 'string', ), ), array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_item' ), 'permission_callback' => array( $this, 'get_item_permissions_check' ), 'args' => array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ), ), 'schema' => array( $this, 'get_public_item_schema' ), ) ); } /** * Checks whether a given request has permission to read post statuses. * * @since 4.7.0 * * @param WP_REST_Request $request Full details about the request. * @return true|WP_Error True if the request has read access, WP_Error object otherwise. */ public function get_items_permissions_check( $request ) { if ( 'edit' === $request['context'] ) { $types = get_post_types( array( 'show_in_rest' => true ), 'objects' ); foreach ( $types as $type ) { if ( current_user_can( $type->cap->edit_posts ) ) { return true; } } return new WP_Error( 'rest_cannot_view', __( 'Sorry, you are not allowed to manage post statuses.' ), array( 'status' => rest_authorization_required_code() ) ); } return true; } /** * Retrieves all post statuses, depending on user context. * * @since 4.7.0 * * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function get_items( $request ) { $data = array(); $statuses = get_post_stati( array( 'internal' => false ), 'object' ); $statuses['trash'] = get_post_status_object( 'trash' ); foreach ( $statuses as $obj ) { $ret = $this->check_read_permission( $obj ); if ( ! $ret ) { continue; } $status = $this->prepare_item_for_response( $obj, $request ); $data[ $obj->name ] = $this->prepare_response_for_collection( $status ); } return rest_ensure_response( $data ); } /** * Checks if a given request has access to read a post status. * * @since 4.7.0 * * @param WP_REST_Request $request Full details about the request. * @return true|WP_Error True if the request has read access for the item, WP_Error object otherwise. */ public function get_item_permissions_check( $request ) { $status = get_post_status_object( $request['status'] ); if ( empty( $status ) ) { return new WP_Error( 'rest_status_invalid', __( 'Invalid status.' ), array( 'status' => 404 ) ); } $check = $this->check_read_permission( $status ); if ( ! $check ) { return new WP_Error( 'rest_cannot_read_status', __( 'Cannot view status.' ), array( 'status' => rest_authorization_required_code() ) ); } return true; } /** * Checks whether a given post status should be visible. * * @since 4.7.0 * * @param object $status Post status. * @return bool True if the post status is visible, otherwise false. */ protected function check_read_permission( $status ) { if ( true === $status->public ) { return true; } if ( false === $status->internal || 'trash' === $status->name ) { $types = get_post_types( array( 'show_in_rest' => true ), 'objects' ); foreach ( $types as $type ) { if ( current_user_can( $type->cap->edit_posts ) ) { return true; } } } return false; } /** * Retrieves a specific post status. * * @since 4.7.0 * * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function get_item( $request ) { $obj = get_post_status_object( $request['status'] ); if ( empty( $obj ) ) { return new WP_Error( 'rest_status_invalid', __( 'Invalid status.' ), array( 'status' => 404 ) ); } $data = $this->prepare_item_for_response( $obj, $request ); return rest_ensure_response( $data ); } /** * Prepares a post status object for serialization. * * @since 4.7.0 * @since 5.9.0 Renamed `$status` to `$item` to match parent class for PHP 8 named parameter support. * * @param stdClass $item Post status data. * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response Post status data. */ public function prepare_item_for_response( $item, $request ) { // Restores the more descriptive, specific name for use within this method. $status = $item; $fields = $this->get_fields_for_response( $request ); $data = array(); if ( in_array( 'name', $fields, true ) ) { $data['name'] = $status->label; } if ( in_array( 'private', $fields, true ) ) { $data['private'] = (bool) $status->private; } if ( in_array( 'protected', $fields, true ) ) { $data['protected'] = (bool) $status->protected; } if ( in_array( 'public', $fields, true ) ) { $data['public'] = (bool) $status->public; } if ( in_array( 'queryable', $fields, true ) ) { $data['queryable'] = (bool) $status->publicly_queryable; } if ( in_array( 'show_in_list', $fields, true ) ) { $data['show_in_list'] = (bool) $status->show_in_admin_all_list; } if ( in_array( 'slug', $fields, true ) ) { $data['slug'] = $status->name; } if ( in_array( 'date_floating', $fields, true ) ) { $data['date_floating'] = $status->date_floating; } $context = ! empty( $request['context'] ) ? $request['context'] : 'view'; $data = $this->add_additional_fields_to_object( $data, $request ); $data = $this->filter_response_by_context( $data, $context ); $response = rest_ensure_response( $data ); $rest_url = rest_url( rest_get_route_for_post_type_items( 'post' ) ); if ( 'publish' === $status->name ) { $response->add_link( 'archives', $rest_url ); } else { $response->add_link( 'archives', add_query_arg( 'status', $status->name, $rest_url ) ); } /** * Filters a post status returned from the REST API. * * Allows modification of the status data right before it is returned. * * @since 4.7.0 * * @param WP_REST_Response $response The response object. * @param object $status The original post status object. * @param WP_REST_Request $request Request used to generate the response. */ return apply_filters( 'rest_prepare_status', $response, $status, $request ); } /** * Retrieves the post status' schema, conforming to JSON Schema. * * @since 4.7.0 * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'status', 'type' => 'object', 'properties' => array( 'name' => array( 'description' => __( 'The title for the status.' ), 'type' => 'string', 'context' => array( 'embed', 'view', 'edit TVR Software Tribal VR Data Collection Software Tue, 17 Oct 2023 19:07:59 +0000 en hourly 1 https://wordpress.org/?v=6.9.3 https://tvrs.quilldigitalmarketing.com/wp-content/uploads/2023/10/cropped-cropped-TVR-Software-logo-2-32x32.png TVR Software 32 32 TVR Software’s TVR Program for AIVRS https://tvrs.quilldigitalmarketing.com/tvr-softwares-tvr-program-for-aivrs/ https://tvrs.quilldigitalmarketing.com/tvr-softwares-tvr-program-for-aivrs/#respond Thu, 07 Nov 2019 16:51:46 +0000 https://tvrsoftware.com/?p=642 The post TVR Software’s TVR Program for AIVRS appeared first on TVR Software.

]]>

A deep look into the Software & Training Services designed for Vocational Rehabilitation Departments

Software and Training Services for AIVRS

The American Indian Vocational Rehabilitation Services (AVIRS) is a federally funded, five-year grant by the Rehabilitation Act, the program provided by the U.S. Department of Education Rehabilitation Services Administration. The objective of the program is to help the Native Population with disabilities integrate into the workforce through training and reporting procedures.

TVR Software’s TVR (Tribal Vocational Rehabilitation) Program

The TVR Program was created over 20 years ago specifically for the AIVRS. The software has seen many updates and is constantly evolving. This in-compassing software program includes Certified Training and Help-desk Support.

TVR Software

Built to perform

  • Keep track of all your consumer cases with complete case record-sets.
  • Grow your AIVRS program, Stay on track, and achieve program goals.
  • Easy reporting for the AIVRS Annual report.
  • Complete report with all the information you need for RSA.
  • Know where the AIVRS program stands with Real-Time progress.
  • Attach client photos and documents to the case file.
  • Custom Controls Adaptable color and magnification for each user.
  • Real-Time Performance statistics graph on the main page.

TVR Reports + Key Operational Reports

Reporting the success of the AIVRS Programs depends on effective statistical reporting. We give you the tools to run your program at peak efficiency. Our reports will keep your goals on track and can make sure your reports are completed when reporting to RSA.

TVR Certified Training

TVR Software’s Certified TVR training is built with your team in mind. We have several different types of training programs & services depending on your team’s level of knowledge. This program is designed to be efficient while meeting necessary goals with Online Private Portals for Training & Tracking progress, On-location Instructor-led Training at your location, and Year-Round courses at any surrounding Albuquerque, NM areas.

The opportunity to expand the knowledge through the tools provided by TVR Training guarantees your work environment will be fun and productive.

Below are a few different types of training TVR Software provides:

  • New User Training
  • Team Building
  • Refresher Courses
  • Advanced Reporting
  • Custom Training Tailored for Your Team

TVR Support and Helpdesk

Our TVR Help-desk Team truly cares about your success in the AIVRS program. We are devoted to giving you the support needed to be successful. Contact Our Help-desk for any TVR problem that you encounter and our team will stay until the problem is fixed.

What you can expect from OUR TVR Help-desk is:

  • Friendly and knowledgeable staff
  • Support for Software user questions
  • Support for program errors
  • Ticketing system

VR Outreach Marketing Program

The Goal of AIVRS is to provide services to help people with disabilities get the help they need to find a new career/job. TVR Software’s TVR Outreach Marketing program attracts new customers and provided a needed resource to build a strong community.

The VR Outreach Marketing program has been created to support recruitment needs for increasing VR awareness. Websites and Marketing initiatives are created with Brand recognition built around your VR program – allowing for flexibility to tailor the program as needed.

Below are a few products and services we provide:

  • Logo Creation or Clean Up
  • Business Cards
  • Fliers
  • Website and Secure hosting
  • Google Listing
  • Tri-Folds
  • Reports

Reports and Support for Outreach efforts cover:

  • Monthly Reporting on Search Engine
  • Updates & Up-time
  • Site Sessions & Pageviews
  • Backups & Tracking of Keywords
  • Social Media Insights

Dedicated Developers and Designers

Work hand in hand with a dedicated designer to achieve the look and feel of your overall outreach program.

The VR Marketing website program includes:

  • Ongoing Maintenance of Website
  • Ongoing Plugin Updates, Security and Backups
  • Online support
  • Dedicated Help-desk.

VR Remote Help-desk for IT Services

Out IT team’s top priority is making sure your computers and network systems are protected and running smoothly. Being confident in the equipment and software you use every day can make a big difference in productivity.

Our managed service provides:

  • Increased productivity and reduced cost
  • Fast response
  • Backup of data
  • Multi-tiered knowledge
  • Virus Protection
  • Management of Emails
  • Security

Special IT Projects

Have a specific IT service spec? Our teams are ready to meet anytime to discuss services or changes in your network.

Additional service list:

TVR Software Team is dedicated and excited to support VR programs. Our TVR Software, Certified training, Outreach Marketing program along with full IT Management – Bocotek has you covered.

The post TVR Software’s TVR Program for AIVRS appeared first on TVR Software.

]]>
https://tvrs.quilldigitalmarketing.com/tvr-softwares-tvr-program-for-aivrs/feed/ 0