Свойство | Тип | Описание | |
---|---|---|---|
$alternateTarget | string | Alternate target for live updates | |
$bindingType | string | This could be a model, field or collection binding type | |
$category | string | Category name provides us with a dropdown in the sidebar for a group. | |
$chain | string | The chain array of string value pairs for a model or attribute | |
$collection | string | Collection name | |
$collectionName | string | The human name of the collection | |
$defaults | string | Default values to set on this devise tag | |
$group | string | Group name of the tag. We can group together different nodes. | |
$humanName | string | Human name of the devise tag | |
$id | string | Identifier of the devise tag | |
$key | string | Key name | |
$type | string | Type of the devise tag (text, image, etc) | |
$value | string | String value of the entire matched string that was regex out. This parameters above are extracted from this value |
Метод | Описание | |
---|---|---|
__construct ( string $str, $parsed = null ) | Create a new devise tag | |
__toString ( ) : string | Convert this object to a string | |
toArray ( $escaped = '', $hasKeys = false ) : array | Converts our devise tag into a giant ass array |
Метод | Описание | |
---|---|---|
arrayAsString ( array $array ) : string | Converts this array to a string version that we can read in a blade php view later | |
createChainArray ( string $key ) : string | We can't assume that the model will just be a single variable it might be nested inside of another variable such as $page->someModel | |
extractBindingType ( [type] $collection, [type] $key ) : [type] | [extractBindingType description] | |
extractKeyAndCollection ( string $str ) : array | Extracts out the key and collection from a string | |
extractParametersForCollection ( string $key, array $params ) : void | Extracts out parameters for collection. They are different because collections have a collection name in the place where a group name should be. So this throws everything off by one | |
extractParametersForVariable ( string $key, array $params ) : void | Extracts out parameters for a variable binding type which is essentially a model or model attribute type | |
extractParametersFromParsedStr ( $params ) : void | Extracts out the parameters from a parsed devise string | |
extractParametersFromUnparsedCreatorStr ( string $params ) : void | Extracts out the parameters from an unparsed devise create model | |
extractParametersFromUnparsedStr ( $params ) : void | Extracts out the parameters from an unparsed devise string | |
humanize ( string $str ) : string | Create a human version name of this string | |
isStringParsed ( string $str ) : boolean | Checks the string to see if it is parsed or not | |
stripquotes ( string $str ) : string | Strips off the quotes from the beginning and end of string |
public __construct ( string $str, $parsed = null ) | ||
$str | string |
public __toString ( ) : string | ||
Результат | string |
protected arrayAsString ( array $array ) : string | ||
$array | array | |
Результат | string |
protected createChainArray ( string $key ) : string | ||
$key | string | |
Результат | string |
protected extractBindingType ( [type] $collection, [type] $key ) : [type] | ||
$collection | [type] | |
$key | [type] | |
Результат | [type] |
protected extractKeyAndCollection ( string $str ) : array | ||
$str | string | |
Результат | array |
protected extractParametersFromParsedStr ( $params ) : void | ||
Результат | void |
protected extractParametersFromUnparsedCreatorStr ( string $params ) : void | ||
$params | string | |
Результат | void |
protected extractParametersFromUnparsedStr ( $params ) : void | ||
Результат | void |
protected isStringParsed ( string $str ) : boolean | ||
$str | string | |
Результат | boolean |
protected stripquotes ( string $str ) : string | ||
$str | string | |
Результат | string |
public string $alternateTarget | ||
Результат | string |
public string $bindingType | ||
Результат | string |
public string $category | ||
Результат | string |
public string $chain | ||
Результат | string |
public string $collectionName | ||
Результат | string |
public string $defaults | ||
Результат | string |
public string $group | ||
Результат | string |
public string $humanName | ||
Результат | string |
public string $type | ||
Результат | string |
public string $value | ||
Результат | string |