public function getSize($revision = null)
	{
		// Without revision, use current info
		if (!isset($revision)) {
			return (int)$this->info['size'];
		}

		// Obtain the properties of the revision
		if (($info = $this->getRevision($revision)) === null) {
			return -1;
		}

		return (int)$info['size'];
	}
public function getSize($revision = null)
	{
		// Without revision, use current info
		if (!isset($revision)) {
			return (int)$this->info['size'];
		}

		// Obtain the properties of the revision
		if (($info = $this->getRevision($revision)) === null) {
			return -1;
		}

		return (int)$info['size'];
	}
public function getSize ( $ revision = null ) { // Without revision, use current info if ( ! isset ( $ revision ) ) { return ( int ) $ this -> info [ 'size' ] ; } // Obtain the properties of the revision if ( ( $ info = $ this -> getRevision ( $ revision ) ) === null ) { return - 1 ; } return ( int ) $ info [ 'size' ] ; }
Returns the size of this file,
or of its specified revision.

@param   mixed    $revision  The index or timestamp of the revision (optional)
@return  integer             The size of this file, or -1 if revision not found
Returns the size of this file or of its specified revision .