original_string: public static function get_property_choices($property) {
  
          self::fill_properties_cache();
  
          if (!array_key_exists($property, self::$propertiescache) && !array_key_exists('choices',
                  self::$propertiescache[$property])) {
  
              throw new coding_exception('Invalid property requested, or the property does not has a list of choices.');
          }
  
          return self::$propertiescache[$property]['choices'];
      }
code: public static function get_property_choices($property) {
  
          self::fill_properties_cache();
  
          if (!array_key_exists($property, self::$propertiescache) && !array_key_exists('choices',
                  self::$propertiescache[$property])) {
  
              throw new coding_exception('Invalid property requested, or the property does not has a list of choices.');
          }
  
          return self::$propertiescache[$property]['choices'];
      }
code_tokens: public static function get_property_choices ( $ property ) { self :: fill_properties_cache ( ) ; if ( ! array_key_exists ( $ property , self :: $ propertiescache ) && ! array_key_exists ( 'choices' , self :: $ propertiescache [ $ property ] ) ) { throw new coding_exception ( 'Invalid property requested, or the property does not has a list of choices.' ) ; } return self :: $ propertiescache [ $ property ] [ 'choices' ] ; }
docstring: Get the choices of the property.
  
  This is a helper method to validate a value against a list of acceptable choices.
  For instance: country, language, themes and etc.
  
  @param string $property property name to be retrieved.
  @throws coding_exception if the requested property name is invalid or if it does not has a list of choices.
  @return array the property parameter type.
docstring_tokens: Get the choices of the property .