TheSeer\phpDox\Collector\SourceFile
Synopsis
- // constants
- const XMLNS = 'http://xml.phpdox.net/src';
- // methods
- public void __construct()
- public string getSource()
- public fDOMDocument getTokens()
- public fDOMElement asNode()
- // Inherited methods from FileInfo
- public void getRealPath()
- public bool exists()
- public void asFileUri()
- public void getPath()
- public void getRelative()
- public void getPathname()
- public void getLinkTarget()
- public void __toString()
- public void getFileInfo()
- public void getPathInfo()
- // Inherited methods from SplFileInfo
- public void __construct()
- public int getATime()
- public string getBasename()
- public int getCTime()
- public string getExtension()
- public SplFileInfo getFileInfo()
- public string getFilename()
- public int getGroup()
- public int getInode()
- public string getLinkTarget()
- public int getMTime()
- public int getOwner()
- public string getPath()
- public SplFileInfo getPathInfo()
- public string getPathname()
- public int getPerms()
- public string getRealPath()
- public int getSize()
- public string getType()
- public bool isDir()
- public bool isExecutable()
- public bool isFile()
- public bool isLink()
- public bool isReadable()
- public bool isWritable()
- public SplFileObject openFile()
- public void setFileClass()
- public void setInfoClass()
- public void __toString()
Hierarchy
Extends
Coverage
Methods | 0% | 0 / 4 |
Lines | 0% | 0 / 99 |
Constants
Name | Value |
---|---|
XMLNS | 'http://xml.phpdox.net/src' |
Members
private
- $src — string
- $srcDir — TheSeer\phpDox\FileInfo
Methods
public
Inherited from TheSeer\phpDox\FileInfo
public
- __toString()
- asFileUri()
- exists()
- getFileInfo()
- getLinkTarget()
- getPath()
- getPathInfo()
- getPathname()
- getRealPath()
- getRelative()
Inherited from SplFileInfo
public
- __toString() — Returns the path to the file as a string
- getATime() — Gets last access time of the file
- getBasename() — Gets the base name of the file
- getCTime() — Gets the inode change time
- getExtension() — Gets the file extension
- getFileInfo() — Gets an SplFileInfo object for the file
- getFilename() — Gets the filename
- getGroup() — Gets the file group
- getInode() — Gets the inode for the file
- getLinkTarget() — Gets the target of a link
- getMTime() — Gets the last modified time
- getOwner() — Gets the owner of the file
- getPath() — Gets the path without filename
- getPathInfo() — Gets an SplFileInfo object for the path
- getPathname() — Gets the path to the file
- getPerms() — Gets file permissions
- getRealPath() — Gets absolute path to file
- getSize() — Gets file size
- getType() — Gets file type
- isDir() — Tells if the file is a directory
- isExecutable() — Tells if the file is executable
- isFile() — Tells if the object references a regular file
- isLink() — Tells if the file is a link
- isReadable() — Tells if file is readable
- isWritable() — Tells if the entry is writable
- openFile() — Gets an SplFileObject object for the file
- setFileClass() — Sets the class name used with SplFileInfo::openFile
- setInfoClass() — Sets the class used with getFileInfo and getPathInfo
History
-
2014-09-10T12:30:04+02:00 (commit #a067894)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
XMLNS Cleanup: Removed left over # from namespare uris
-
2014-09-03T10:48:18+02:00 (commit #64e3e3d)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Added Tokenizer support and xml serialisation of source Added Souce HTML View
-
2014-07-31T13:38:31+02:00 (commit #39e21e7)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Added source to xml tokenizer, cleanup in collection process, minor performance tweaks
-
2014-07-31T13:12:06+02:00 (commit #eccf056)
Author: Reno Reckling (reno.reckling@mayflower.de) / Commiter: Reno Reckling (reno.reckling@mayflower.de)
Don't die on empty files. the mime encoding of empty files is detected as 'binary' and subsequent binary->utf-8 encoding fails.
-
2014-05-08T22:34:02+02:00 (commit #e1798d4)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Fix issue #146
-
2014-03-23T01:42:10+01:00 (commit #7e3a25e)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Added forced type-cast
-
2013-12-19T18:39:45+01:00 (commit #92ae9e1)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Actually return code after cleansing
-
2013-12-19T18:26:02+01:00 (commit #b288dac)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
- Added SourceFile Object to handle encoding related stuff outside from parser - Made encoding handling more robust - Fixed regression in SourceCollection introduced by FileInfo