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)
Check Out this Related Man Page
GEARMANWORKER(3) 1 GEARMANWORKER(3)The GearmanWorker classINTRODUCTION CLASS SYNOPSIS
GearmanWorker
GearmanWorker
Methods
o public bool GearmanWorker::addFunction (string $function_name, callable $function, [mixed &$context], [int $timeout])
o public bool GearmanWorker::addOptions (int $option)
o public bool GearmanWorker::addServer ([string $host = 127.0.0.1], [int $port = 4730])
o public bool GearmanWorker::addServers (string $servers = 127.0.0.1:4730)
o public void GearmanWorker::clone (void )
o public GearmanWorker::__construct (void )
o public bool GearmanWorker::echo (string $workload)
o public string GearmanWorker::error (void )
o public int GearmanWorker::getErrno (void )
o public int GearmanWorker::options (void )
o public bool GearmanWorker::register (string $function_name, [int $timeout])
o public bool GearmanWorker::removeOptions (int $option)
o public int GearmanWorker::returnCode (void )
o public bool GearmanWorker::setId (string $id)
o public bool GearmanWorker::setOptions (int $option)
o public bool GearmanWorker::setTimeout (int $timeout)
o public int GearmanWorker::timeout (void )
o public bool GearmanWorker::unregister (string $function_name)
o public bool GearmanWorker::unregisterAll (void )
o public bool GearmanWorker::wait (void )
o public bool GearmanWorker::work (void )
PHP Documentation Group GEARMANWORKER(3)
what we have:
class TClass {
public:
TClass();
};
template<class T> class FClass<T>: public T {
public:
FClass();
};
TClass::TClass() {
// some code
}
template<class T> FClass<T>::FClass : T() {
// some code
}
int main (int argc,char* argv) { (3 Replies)
:confused: I printed some directions on how to make my own web page and they told me to us unix. They also told me to first make a new directory called public then, change it to cd public, but I don't know how can you help me please? I would really appreciate it. Thank you,
Jamie (2 Replies)
#include <iostream.h>
class A
{
public:
void f(void)
{
cout << "hello world \n" ;
}
};
void main()
{
A *a;
a = 0 ;
a->f(); // OOPs...Am I mad? What am I going to do ?
} (1 Reply)
hi folks..
I am trying the following command in a solaris box:
however after some time I'm getting errors like that:
Any ideas what could be wrong? (1 Reply)
Hello!
Here is what I am trying to do: I am taking a class at school that is using a lot of literature that is in the public domain, and available for free on the web. Rather than read them online in HTML, I have been pulling them down and quickly and dirtily tagging them up and typesetting... (4 Replies)
Hi,
We have a ftp server which is running on public ip and out side of firewall.
Users out side of our network and users of our local network both using the same public ip and doing upload and downloading.
Last few days we are facing bandwidth problem as internal network users increased.
... (1 Reply)
class B
{
public:
void fns(void){//base def;}
};
class D:public B
{
public:
void fns(void) {//new def;}
};
I was thinking the above is overriding but somewhere else i found the above is just hiding.Only virtual functions can be considered as overriding?
This is the exact statement ... (1 Reply)
Hi,
I've a php scirpt that calls in an external class. The external class, myClass, has several public and private functions.
There is one public function which derives a value that I want be able to bring it to the main php scirpt. Here is the code.
....snip....
include... (1 Reply)
Hi
I do use this line to find my public IP.
Is there other way I can do this?
Maybe create the script some shorter?
wget -q -O - http://minip.no | grep "<b>" | head -n1 | cut -d'<' -f3 | cut -d'>' -f2
Thanks (1 Reply)
Hello. I want to achieve this:
1.) Finding my public IP. I have this and it works perfectly:
wget http://ipecho.net/plain -O - -q ; echo2.) I need to write this in a dropbox folder (let's say /home/myusername/dropbox).
3.) Put this script in a cronjob for repeating this every 10 minutes.
... (2 Replies)