public static initWithContent ( string $id, array | string $class = '', string $content = '' ) : boolean | WPDKView | ||
$id | string | The unique id for this view |
$class | array | string | Optional. The CSS classes for this view |
$content | string | Optional. An HTML markup content |
return | boolean | WPDKView | Return an instance of WPDKView or FALSE if error |