Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe Cursor

Fonctions membres publiques

 __construct (OutputInterface $output, $input=null)
 
 moveUp (int $lines=1)
 
 moveDown (int $lines=1)
 
 moveRight (int $columns=1)
 
 moveLeft (int $columns=1)
 
 moveToColumn (int $column)
 
 moveToPosition (int $column, int $row)
 
 savePosition ()
 
 restorePosition ()
 
 hide ()
 
 show ()
 
 clearLine ()
 
 clearLineAfter ()
 
 clearOutput ()
 
 clearScreen ()
 
 getCurrentPosition ()
 

Attributs privés

 $output
 
 $input
 

Description détaillée

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( OutputInterface  $output,
  $input = null 
)
Paramètres
resource | null$input

Références Cursor\$input, et Cursor\$output.

Documentation des fonctions membres

◆ clearLine()

clearLine ( )

Clears all the output from the current line.

Renvoie
$this

Références $this.

◆ clearLineAfter()

clearLineAfter ( )

Clears all the output from the current line after the current position.

Références $this.

◆ clearOutput()

clearOutput ( )

Clears all the output from the cursors' current position to the end of the screen.

Renvoie
$this

Références $this.

◆ clearScreen()

clearScreen ( )

Clears the entire screen.

Renvoie
$this

Références $this.

◆ getCurrentPosition()

getCurrentPosition ( )

Returns the current cursor position as x,y coordinates.

Références null.

◆ hide()

hide ( )
Renvoie
$this

Références $this.

◆ moveDown()

moveDown ( int  $lines = 1)
Renvoie
$this

Références $this.

◆ moveLeft()

moveLeft ( int  $columns = 1)
Renvoie
$this

Références $columns, et $this.

◆ moveRight()

moveRight ( int  $columns = 1)
Renvoie
$this

Références $columns, et $this.

◆ moveToColumn()

moveToColumn ( int  $column)
Renvoie
$this

Références $this.

◆ moveToPosition()

moveToPosition ( int  $column,
int  $row 
)
Renvoie
$this

Références $this.

◆ moveUp()

moveUp ( int  $lines = 1)
Renvoie
$this

Références $this.

◆ restorePosition()

restorePosition ( )
Renvoie
$this

Références $this.

◆ savePosition()

savePosition ( )
Renvoie
$this

Références $this.

◆ show()

show ( )
Renvoie
$this

Références $this.

Documentation des champs

◆ $input

$input
private

Référencé par Cursor\__construct().

◆ $output

$output
private

Référencé par Cursor\__construct().


La documentation de cette classe a été générée à partir du fichier suivant :