* Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.
*
* @param array $config Configuration options
- * @param array $config['namespace'] Configuration for the NamespaceInputWidget dropdown with list
- * of namespaces
+ * @param array $config['namespace'] Configuration for the NamespaceInputWidget dropdown
+ * with list of namespaces
* @param array $config['title'] Configuration for the TitleInputWidget text field
*/
public function __construct( array $config = array() ) {
$this->title = new TitleInputWidget( array_merge(
$config['title'],
array(
- // The inner TitleInputWidget shouldn't be infusable, only the ComplexTitleInputWidget itself can be.
+ // The inner TitleInputWidget shouldn't be infusable,
+ // only the ComplexTitleInputWidget itself can be.
'infusable' => false,
'relative' => true,
- 'namespace' => isset( $config['namespace']['value'] ) ? $config['namespace']['value'] : null,
+ 'namespace' => isset( $config['namespace']['value'] ) ?
+ $config['namespace']['value'] :
+ null,
)
) );