protected function checkRenderOptions($options) {
    //Default is full and no selection
    if (count($options) === 0) {
      $options["full"] = true;
      $options["selector"] = null;
    }

    if (isset($options["full"]) && isset($options["selector"])) {
      if ($options["full"]) {
        //Whatever it is, full is more powerful than selection
        $options["selector"] = null;
      }
    } else {
      if (!isset($options["full"]) && isset($options["selector"])) {
        $options["full"] = false;
      }
    }
    return $options;
  }
protected function checkRenderOptions($options) {
    //Default is full and no selection
    if (count($options) === 0) {
      $options["full"] = true;
      $options["selector"] = null;
    }

    if (isset($options["full"]) && isset($options["selector"])) {
      if ($options["full"]) {
        //Whatever it is, full is more powerful than selection
        $options["selector"] = null;
      }
    } else {
      if (!isset($options["full"]) && isset($options["selector"])) {
        $options["full"] = false;
      }
    }
    return $options;
  }
protected function checkRenderOptions ( $ options ) { //Default is full and no selection if ( count ( $ options ) === 0 ) { $ options [ "full" ] = true ; $ options [ "selector" ] = null ; } if ( isset ( $ options [ "full" ] ) && isset ( $ options [ "selector" ] ) ) { if ( $ options [ "full" ] ) { //Whatever it is, full is more powerful than selection $ options [ "selector" ] = null ; } } else { if ( ! isset ( $ options [ "full" ] ) && isset ( $ options [ "selector" ] ) ) { $ options [ "full" ] = false ; } } return $ options ; }
Check and fix render options
@param $options
@return mixed
Check and fix render options