Search
API Documentation
- Doctrine
- Doctrine-association
- Doctrine-association-manytomany
- Doctrine-association-onetomany
- Doctrine-association-onetoone
- Doctrine-classmetadata
- Doctrine-classmetadata-yamldriver
- Doctrine-configurable
- Doctrine-configuration
- Doctrine-connectionfactory
- Doctrine-connection-unitofwork
- Doctrine-entitymanager
- Doctrine-entitymanagerfactory
- Doctrine-entitypersister-abstract
- Doctrine-entitypersister-joinedsubclass
- Doctrine-eventmanager
- Doctrine-eventsubscriber
- Doctrine-internal-commitordercalculator
- Doctrine-internal-commitordernode
- Doctrine-query-parserresultdummy
- Abstract
- Access
- Adapter
- Auditlog
- Builder
- Cache
- Classmetadata
- Cli
- Collection
- Compiler
- Connection
- Data
- Datadict
- Entity
- Entityrepository
- Event
- Eventlistener
- Exception
- Export
- Expression
- File
- Filefinder
- Formatter
- Hook
- Hydrate
- Hydrator
- I18n
- Import
- Inflector
- Lib
- Locking
- Log
- Manager
- Migration
- Node
- Null
- Overloadable
- Pager
- Parser
- Plugin
-
Query
- Query
- Abstract
- AbstractResult
- CacheHandler
- Exception
- Filter
- Chain
- Interface
- Parser
- ParserResult
- Printer
- Production
- ProductionParamHolder
- AggregateExpression
- Atom
- BetweenExpression
- ComparisonExpression
- ComparisonOperator
- ConditionalExpression
- ConditionalFactor
- ConditionalPrimary
- ConditionalTerm
- DeleteClause
- DeleteStatement
- ExistsExpression
- Expression
- Factor
- FieldIdentificationVariable
- FromClause
- Function
- GroupByClause
- GroupByItem
- HavingClause
- IdentificationVariable
- IdentificationVariableDeclaration
- IndexBy
- InExpression
- Join
- LikeExpression
- LimitClause
- NullComparisonExpression
- OffsetClause
- OrderByClause
- OrderByItem
- PathExpression
- PathExpressionEndingWithAsterisk
- Primary
- QuantifiedExpression
- QueryLanguage
- RangeVariableDeclaration
- SelectClause
- SelectExpression
- SelectStatement
- SimpleConditionalExpression
- SimpleSelectClause
- Subselect
- Term
- UpdateClause
- UpdateItem
- UpdateStatement
- VariableDeclaration
- WhereClause
- QueryResult
- Registry
- Scanner
- SqlBuilder
- Abstract
- MultiTableUpdate
- Token
- Tokenizer
- Rawsql
- Record
- Relation
- Search
- Sequence
- Singletabledeleteupdate
- Spyc
- Task
- Template
- Transaction
- Tree
- Validator
- View
Development Doctrine_Cli_AnsiColorFormatter
- Home
- Documentation
- Development API Documentation
- Doctrine_Cli_AnsiColorFormatter
Doctrine Cli AnsiColorFormatter
Doctrine_AnsiColorFormatter provides methods to colorize text to be displayed on a console.
Inheritence
Doctrine_Cli_AnsiColorFormatter < Doctrine_Cli_Formatter
Method Summary
- Boolean supportsColors
- string excerpt
- formatSection
- setStyle
- string format
Methods inherited from Doctrine_Cli_Formatter
setMaxLineSize , excerpt , formatSection , __construct , formatMethod Details
-
$stream A stream (Boolean) supportsColors($stream)
Returns true if the stream supports colorization.
Colorization is disabled if not supported by the stream:
-
windows
-
non tty consoles
Doctrine_Cli_AnsiColorFormatter
-
-
$text The text $size The maximum size of the returned string (65 by default) (string) excerpt($text, $size = null)
Truncates a line.
Doctrine_Cli_AnsiColorFormatter
-
$section The section name $text The text message $size The maximum size allowed for a line (65 by default) formatSection($section, $text, $size = null)
Formats a message within a section.
-
$name The style name $options An array of options setStyle($name, $options = array())
Sets a new style.
-
$text The test to style $parameters An array of options or a style name (string) format($text = '', $parameters = array(), $stream = STDOUT)
Formats a text according to the given style or parameters.
Doctrine_Cli_AnsiColorFormatter




Comments (0) [ add comment ]
No Comments
Add Comment