tasks/system/ChownTask.php

Show: inherited
Table of Contents

\ChownTask

Package: phing\tasks\system

Task that changes the permissions on a file/directory.

Parent(s)
\Task < \ProjectComponent
Author
Mehmet Emre Yilmaz  
Version
$Revision: 1368 $  

Properties

Propertyprivate  $failonerror= 'true'
Default valuetrueDetails
Type
n/a
Propertyprivate  $file= ''
Details
Type
n/a
Propertyprivate  $filesets= 'array()'
Default valuearray()Details
Type
n/a
Propertyprivate  $filesystem= ''
Details
Type
n/a
Propertyprivate  $group= ''
Details
Type
n/a
Propertyprivate  $quiet= 'false'
Default valuefalseDetails
Type
n/a
Propertyprivate  $user= ''
Details
Type
n/a
Propertyprivate  $verbose= 'true'
Default valuetrueDetails
Type
n/a

Methods

methodprivatecheckParams( ) : void

Ensure that correct parameters were passed in.

methodprivatechown( ) : void

Does the actual work.

methodprivatechownFile( \PhingFile $file, string $user, string $group = "" ) : void

Actually change the mode for the file.

Parameters
Name Type Description
$file \PhingFile
$user string
$group string
methodpubliccreateFileSet( ) : void

Nested creator, adds a set of files (nested fileset attribute).

methodpublicgetDescription( ) : void

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

Execute the touch operation.

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetDescription( ) : void

methodpublicsetFailonerror(  $bool ) : void

This flag means 'note errors to the output, but keep going'

Parameters
Name Type Description
$bool
Details
See
\setQuiet()  
methodpublicsetFile(  $file ) : void

Sets a single source file to touch. If the file does not exist an empty file will be created.

Parameters
Name Type Description
$file
methodpublicsetGroup(  $group ) : void

Sets the group

Parameters
Name Type Description
$group
methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetQuiet(  $bool ) : void

Set quiet mode, which suppresses warnings if chown() fails.

Parameters
Name Type Description
$bool
Details
See
\setFailonerror()  
methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetUser(  $user ) : void

Sets the user

Parameters
Name Type Description
$user
methodpublicsetVerbose(  $bool ) : void

Set verbosity, which if set to false surpresses all but an overview of what happened.

Parameters
Name Type Description
$bool
Documentation was generated by DocBlox 0.17.1.