Jump to content

static functions inside a class


shaddf

Recommended Posts

is it possible to call a static function inside another static function within the same class holding them both

like so:

public static   function checkFile(){//just check if good file before upload to db
            $result =   false;
            $name   = $this->getorigName();
	    $size   = $this-> get_file_size();
            $ext    =  $this->getExtension($name);
	
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.