/**
  * @see ParamDefinitionTest::getDefinitions
  * @return array
  */
 public function getDefinitions()
 {
     $params = parent::getDefinitions();
     $params['auto'] = array('allowauto' => true);
     $params['allunits'] = array('units' => array('px', 'ex', 'em', '%', ''));
     $params['bounds'] = array('lowerbound' => 42, 'upperbound' => 9000, 'maxpercentage' => 34, 'minpercentage' => 23, 'units' => array('px', 'ex', '%', ''));
     return $params;
 }
 /**
  * @see ParamDefinitionTest::getDefinitions
  */
 public function getDefinitions()
 {
     $params = parent::getDefinitions();
     $params['empty-empty'] = $params['empty'];
     $params['empty-empty']['hastoexist'] = false;
     $params['values-empty'] = $params['values'];
     $params['values-empty']['hastoexist'] = false;
     $params['values-empty']['values'][] = \Title::newFromText('foo');
     return $params;
 }
Example #3
0
 /**
  * @see ParamDefinitionTest::getDefinitions
  */
 public function getDefinitions()
 {
     $params = parent::getDefinitions();
     $params['empty-empty'] = $params['empty'];
     $params['empty-empty']['hastoexist'] = false;
     $params['values-empty'] = $params['values'];
     $params['values-empty']['hastoexist'] = false;
     $params['values-empty']['values'][] = 'Foo';
     return $params;
 }
Example #4
0
 /**
  * @see ParamDefinitionTest::getDefinitions
  */
 public function getDefinitions()
 {
     $params = parent::getDefinitions();
     return $params;
 }