You are here

drupal.inc in Video 6.4

Same filename and directory in other branches
  1. 6.5 filesystem/drupal.inc

File

filesystem/drupal.inc
View source
<?php

/*
 * @file
 * Class file used to store videos on the local disk.
 *
 */
class drupal implements filesystem_interface {
  protected $params = array();
  protected $name = 'Drupal file system';
  protected $value = 'drupal';
  public function __construct() {
  }
  public function load_file($video) {
  }

  /**
   * Interface Implementations
   * @see sites/all/modules/video/includes/filesystem_interface#get_name()
   */
  public function get_name() {
    return $this->name;
  }

  /**
   * Interface Implementations
   * @see sites/all/modules/video/includes/filesystem_interface#get_help()
   */
  public function get_help() {
    return l(t('Drupal file system'), 'admin/settings/file-system');
  }

  /**
   * Interface Implementations
   * @see sites/all/modules/video/includes/filesystem_interface#get_value()
   */
  public function get_value() {
    return $this->value;
  }
  public function admin_settings() {
    $form = array();
    return $form;
  }
  public function admin_settings_validate($form, &$form_state) {
    return;
  }

}

Classes

Namesort descending Description
drupal