%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/com/lib/
Upload File :
Create Path :
Current File : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/com/lib/SGFileEntry.php

<?php

require_once(dirname(__FILE__).'/SGEntry.php');

/**
*
*/
class SGFileEntry implements SGEntry
{
	private $name;
	private $type;
	private $path;

	public function __construct()
	{
		$this->type = SG_ENTRY_TYPE_FILE;
	}

	public function getName()
	{
		return $this->name;
	}

	public function getPath()
	{
		return $this->path;
	}

	public function getType()
	{
		return $this->type;
	}

	public function setName($name)
	{
		$this->name = $name;
	}

	public function setPath($path)
	{
		$this->path = $path;
	}

	public function toArray()
	{
		$fileEntry = array(
			'name' => $this->getName(),
			'path' => $this->getPath(),
			'type' => $this->getType()
		);

		return $fileEntry;
	}
}

Zerion Mini Shell 1.0