public function fileLookup($fileId) {
		$member = $this->securityContext->getMember();
		if (!$member) {
			return;
		}
		
		$file = File::get()->filter(array('ID' => $fileId, 'OwnerID' => $member->ID))->first();
		if ($file && $file->ID) {
			return array(
				'Title'		=> $file->Title,
				'Link'		=> $file->getAbsoluteURL(),
				'IsImage'	=> $file instanceof Image,
				'ID'		=> $file->ID,
			);
		}
	}
public function fileLookup($fileId) {
		$member = $this->securityContext->getMember();
		if (!$member) {
			return;
		}
		
		$file = File::get()->filter(array('ID' => $fileId, 'OwnerID' => $member->ID))->first();
		if ($file && $file->ID) {
			return array(
				'Title'		=> $file->Title,
				'Link'		=> $file->getAbsoluteURL(),
				'IsImage'	=> $file instanceof Image,
				'ID'		=> $file->ID,
			);
		}
	}
public function fileLookup ( $ fileId ) { $ member = $ this -> securityContext -> getMember ( ) ; if ( ! $ member ) { return ; } $ file = File :: get ( ) -> filter ( array ( 'ID' => $ fileId , 'OwnerID' => $ member -> ID ) ) -> first ( ) ; if ( $ file && $ file -> ID ) { return array ( 'Title' => $ file -> Title , 'Link' => $ file -> getAbsoluteURL ( ) , 'IsImage' => $ file instanceof Image , 'ID' => $ file -> ID , ) ; } }
Lookup files that you have uploaded

@param string $fileId
Lookup files that you have uploaded