Property | Type | Description | |
---|---|---|---|
$toArray | integer | Array service. | |
$toDropdown | integer | Dropdown service. | |
$toHtml | integer | Html service. | |
$toJson | integer | Json string service. |
Property | Type | Description | |
---|---|---|---|
$_instance | Query builder instance. | ||
$nested | mixed | Start the nested process. | |
$parameters | array | Service parameters. | |
$source | Soruce data. | ||
$to | integer | Default service number (toArray). |
Method | Description | |
---|---|---|
__call ( array $method, array $args ) : mixed | if called method not exists in NestableService pass to parent __call method. | |
__callStatic ( array $method, array $args ) : mixed | Create new instance and call the method. | |
delete ( ) : boolean | null | Call the parent delete method | |
get ( ) : mixed | Get the data from db to collection or default return. | |
nested ( integer $to = 1 ) : object | Set the nest type. | |
renderAsArray ( ) : array | Render as array tree. | |
renderAsDropdown ( ) : string | Render as dropdown. | |
renderAsHtml ( ) : string | Render as html. | |
renderAsJson ( ) : array | Render as json string. | |
renderAsMultiple ( ) : string | Render as multiple list box. |
Method | Description | |
---|---|---|
getParameters ( ) : array | Get the all service parameters. | |
getParentField ( ) : string | Return the parent key name. | |
saveParameter ( string $method, mixed $value ) : object | Save the service parameters. | |
to ( ) : mixed | Pass data to nest methods. |
protected getParameters ( ) : array | ||
return | array |
protected getParentField ( ) : string | ||
return | string |
public static renderAsArray ( ) : array | ||
return | array |
public static renderAsDropdown ( ) : string | ||
return | string |
public static renderAsHtml ( ) : string | ||
return | string |
public static renderAsJson ( ) : array | ||
return | array |
public static renderAsMultiple ( ) : string | ||
return | string |
protected static mixed $nested | ||
return | mixed |
protected static array $parameters | ||
return | array |
protected static int $to | ||
return | integer |
public static int $toDropdown | ||
return | integer |