[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/video/filesystem/ -> drupal.inc (source)

   1  <?php
   2  /*
   3   * @file
   4   * Class file used to store videos on the local disk.
   5   *
   6   */
   7  class drupal implements filesystem_interface {
   8    protected $params = array();
   9    protected $name = 'Drupal file system';
  10    protected $value = 'drupal';
  11  
  12    public function __construct() {
  13      
  14    }
  15  
  16    public function load_file($video) {
  17      
  18    }
  19  
  20    /**
  21     * Interface Implementations
  22     * @see sites/all/modules/video/includes/filesystem_interface#get_name()
  23     */
  24    public function get_name() {
  25      return $this->name;
  26    }
  27  
  28    /**
  29     * Interface Implementations
  30     * @see sites/all/modules/video/includes/filesystem_interface#get_help()
  31     */
  32    public function get_help() {
  33      return l(t('Drupal file system'), 'admin/settings/file-system');
  34    }
  35  
  36    /**
  37     * Interface Implementations
  38     * @see sites/all/modules/video/includes/filesystem_interface#get_value()
  39     */
  40    public function get_value() {
  41      return $this->value;
  42    }
  43  
  44    public function admin_settings() {
  45      $form = array();
  46      return $form;
  47    }
  48  
  49    public function admin_settings_validate($form, &$form_state) {
  50      return;
  51    }
  52  }


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7