I've been working on a very long shell script that's becoming a mini-application. It is my first script, and continues to grow each week, becoming more and more complex.
I've been asked to document my script, beginning with basic information and then detailing any information about its... (1 Reply)
I've been asked to do a high level summary of the cron jobs which run against a number of systems (to understand the potential scope for rewriting some of our core systems)...and was wondering how people have done this in the past.
I've got approx 400 cron entries to go through.
I will have... (2 Replies)
I am programming using C++ and am wondering how to comment my project.
For example, when I declare a class I created a header with some description, then have the declaration stage, which I don't comment. Then when I define the actual functions I will put details about it, what it does,... (2 Replies)
Hello All,
I am trying trying to write a shell script that will do a couple things:
1.) Identify any username that logs into the server.
2.) When the user logs out, send them an email detailing
their log in/out times, duration logged in, and what
processes they ran.
Basically,... (3 Replies)
SPLFILEINFO(3) 1 SPLFILEINFO(3)The SplFileInfo classINTRODUCTION
The SplFileInfo class offers a high-level object oriented interface to information for an individual file.
CLASS SYNOPSIS
SplFileInfo
SplFileInfo
Methods
o public SplFileInfo::__construct (string $file_name)
o public int SplFileInfo::getATime (void )
o public string SplFileInfo::getBasename ([string $suffix])
o public int SplFileInfo::getCTime (void )
o public string SplFileInfo::getExtension (void )
o public SplFileInfo SplFileInfo::getFileInfo ([string $class_name])
o public string SplFileInfo::getFilename (void )
o public int SplFileInfo::getGroup (void )
o public int SplFileInfo::getInode (void )
o public string SplFileInfo::getLinkTarget (void )
o public int SplFileInfo::getMTime (void )
o public int SplFileInfo::getOwner (void )
o public string SplFileInfo::getPath (void )
o public SplFileInfo SplFileInfo::getPathInfo ([string $class_name])
o public string SplFileInfo::getPathname (void )
o public int SplFileInfo::getPerms (void )
o public string SplFileInfo::getRealPath (void )
o public int SplFileInfo::getSize (void )
o public string SplFileInfo::getType (void )
o public bool SplFileInfo::isDir (void )
o public bool SplFileInfo::isExecutable (void )
o public bool SplFileInfo::isFile (void )
o public bool SplFileInfo::isLink (void )
o public bool SplFileInfo::isReadable (void )
o public bool SplFileInfo::isWritable (void )
o public SplFileObject SplFileInfo::openFile NULL ([string $open_mode = "r"], [bool $use_include_path = false], [resource $context])
o public void SplFileInfo::setFileClass ([string $class_name = "SplFileObject"])
o public void SplFileInfo::setInfoClass ([string $class_name = "SplFileInfo"])
o public void SplFileInfo::__toString (void )
PHP Documentation Group SPLFILEINFO(3)