helpers\BaseConsole ansiToHtml()

ansiToHtml() public static method Converts an ANSI formatted string to HTML Note: xTerm 256 bit colors are currently not supported. public static string ansiToHtml ( $string, $styleMap = [] )$string string The string to convert. $styleMap array An optional mapping of ANSI control codes such as FG_COLOR or BOLD to a set of css style definitions. The CSS style definitions are represented as an array where the array keys correspond to the css style attribute names and the values are the c

filters\auth\CompositeAuth challenge()

challenge() public method Generates challenges upon authentication failure. For example, some appropriate HTTP headers may be generated. public void challenge ( $response )$response yii\web\Response

helpers\BaseConsole hideCursor()

hideCursor() public static method Hides the cursor by sending ANSI DECTCEM code ?25l to the terminal. Use showCursor() to bring it back. Do not forget to show cursor when your application exits. Cursor might stay hidden in terminal after exit. public static void hideCursor ( )

log\Target export()

export() public abstract method Exports log $messages to a specific destination. Child classes must implement this method. public abstract void export ( )

helpers\BaseMarkdown getParser()

getParser() protected static method protected static \cebe\markdown\Parser getParser ( $flavor )$flavor string The markdown flavor to use. See $flavors for available values. Defaults to $defaultFlavor, if not set. throws yii\base\InvalidParamException when an undefined flavor is given.

base\Security decrypt()

decrypt() protected method Decrypts data. See also encrypt(). protected boolean|string decrypt ( $data, $passwordBased, $secret, $info )$data string Encrypted data to be decrypted. $passwordBased boolean Set true to use password-based key derivation $secret string The decryption password or key $info string Context/application specific information, @see encrypt() return boolean|string The decrypted data or false on authentication failure throws yii\base\InvalidConfigException

i18n\GettextMoFile writeString()

writeString() protected method Writes a string. protected integer writeString ( $fileHandle, $string )$fileHandle resource To write to $string string To be written return integer How many bytes are written

caching\XCache addValue()

addValue() protected method Stores a value identified by a key into cache if the cache does not contain this key. This is the implementation of the method declared in the parent class. protected boolean addValue ( $key, $value, $duration )$key string The key identifying the value to be cached $value mixed The value to be cached. Most often it's a string. If you have disabled $serializer, it could be something else. $duration integer The number of seconds in which the cached value wil

data\BaseDataProvider $keys

$keys public property The list of key values corresponding to $models. Each data model in $models is uniquely identified by the corresponding key value in this array. public array getKeys ( )public void setKeys ( $keys )

i18n\MissingTranslationEvent $message

$message public property The message to be translated. An event handler may use this to provide a fallback translation and set $translatedMessage if possible. public string $message = null