Model/Adminhtml/Source/Rules/Condition.php
public function getInputTypeOptions($type)
    {
        switch ($type) {
            case 'numeric':
                return $this->optionsForNumericType();

            case 'select':
                return $this->toOptionArray();

            case 'string':
                return $this->optionsForStringType();
        }

        return $this->optionsForStringType();
    }
public function getInputTypeOptions($type)
    {
        switch ($type) {
            case 'numeric':
                return $this->optionsForNumericType();

            case 'select':
                return $this->toOptionArray();

            case 'string':
                return $this->optionsForStringType();
        }

        return $this->optionsForStringType();
    }
public function getInputTypeOptions ( $ type ) { switch ( $ type ) { case 'numeric' : return $ this -> optionsForNumericType ( ) ; case 'select' : return $ this -> toOptionArray ( ) ; case 'string' : return $ this -> optionsForStringType ( ) ; } return $ this -> optionsForStringType ( ) ; }
Get condition options according to type.

@param string $type

@return array
Get condition options according to type .