You are here

class ImceFile in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImceFile.php \Drupal\imce\ImceFile

Imce File.

Hierarchy

Expanded class hierarchy of ImceFile

2 files declare their use of ImceFile
DeleteTest.php in tests/src/Kernel/Plugin/ImcePlugin/DeleteTest.php
ImceFileTest.php in tests/src/Unit/ImceFileTest.php

File

src/ImceFile.php, line 8

Namespace

Drupal\imce
View source
class ImceFile extends ImceItem {

  /**
   * {@inheritdoc}
   */
  public $type = 'file';

}

Members

Namesort descending Modifiers Type Description Overrides
ImceFile::$type public property Item type. Overrides ImceItem::$type
ImceItem::$fm protected property File manager.
ImceItem::$name public property Item name.
ImceItem::$parent public property Item parent.
ImceItem::$path protected property Item path relative to the root.
ImceItem::$selected public property Selected status.
ImceItem::addToJs public function Adds the item to js.
ImceItem::deselect public function Deselects the item.
ImceItem::fm public function Returns the file manager.
ImceItem::getPath public function Returns the item path relative to the root.
ImceItem::getUri public function Returns the item uri.
ImceItem::remove public function Removes the item from its parent.
ImceItem::removeFromJs public function Removes the item from js.
ImceItem::select public function Selects the item.
ImceItem::setFm public function Sets the file manager.
ImceItem::__construct public function Constructs the item. 1