Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • P3ArrayValidator
  • P3BootstrapCommand
  • P3MediaCommand
  • P3RsyncCommand

Class P3RsyncCommand

Command to sync project files by alias between a server and your local machine

CComponent
Extended by CConsoleCommand
Extended by P3RsyncCommand
Package: p3extensions\commands
Copyright: Copyright © 2005-2011 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Since: 3.0.1
Located at phundament/p3extensions/commands/P3RsyncCommand.php

Methods summary

public string
# getHelp( )

Provides the command description. This method may be overridden to return the actual command description.

Provides the command description. This method may be overridden to return the actual command description.

Returns

string
the command description. Defaults to 'Usage: php entry-script.php command-name'.

Overrides

CConsoleCommand::getHelp
public integer
# run( type $args )

Syncs from 'server1' to 'server2' the 'alias'

Syncs from 'server1' to 'server2' the 'alias'

Parameters

$args
type
$args

Returns

integer
application exit code, which is returned by the invoked action. 0 if the action did not return anything. (return value is available since version 1.1.11)

Overrides

CConsoleCommand::run

Methods inherited from CConsoleCommand

__construct(), afterAction(), beforeAction(), behaviors(), buildFileList(), confirm(), copyFiles(), ensureDirectory(), getCommandRunner(), getName(), getOptionHelp(), init(), onAfterAction(), onBeforeAction(), pluralize(), prompt(), renderFile(), resolveRequest(), usageError()

Methods inherited from CComponent

__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Properties summary

public type $servers
#

Array of available locations

Array of available locations

public type $aliases
#

Yii aliases (directories) within the application which can be synced

Yii aliases (directories) within the application which can be synced

public type $params
#

Additional rsync command line params

Additional rsync command line params

Properties inherited from CConsoleCommand

$defaultAction

Magic properties inherited from CConsoleCommand

$commandRunner, $help, $name, $optionHelp

Phundament App Class Reference API documentation generated by ApiGen 2.8.0