프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$toArray | integer | Array service. | |
$toDropdown | integer | Dropdown service. | |
$toHtml | integer | Html service. | |
$toJson | integer | Json string service. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_instance | Query builder instance. | ||
$nested | mixed | Start the nested process. | |
$parameters | array | Service parameters. | |
$source | Soruce data. | ||
$to | integer | Default service number (toArray). |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |
protected getParentField ( ) : string | ||
리턴 | string |
public static renderAsDropdown ( ) : string | ||
리턴 | string |
public static renderAsMultiple ( ) : string | ||
리턴 | string |