[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/cc/ -> validator.php (summary)

Provides validation classes used by the imscc converters

Copyright: 2011 Darko Miletic <dmiletic@moodlerooms.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 264 lines (7 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 7 classes

cc_validate_type:: (2 methods):
  __construct()
  validate()

manifest_validator:: (1 method):
  __construct()

manifest10_validator:: (1 method):
  __construct()

blti_validator:: (1 method):
  __construct()

assesment_validator:: (1 method):
  __construct()

discussion_validator:: (1 method):
  __construct()

weblink_validator:: (1 method):
  __construct()

Defines 1 function

  __construct()
  __clone()
  instance()
  add()
  errors()
  reset()
  to_string()
  __toString()
  __construct()
  collect_errors()
  __destruct()
  collect()
  validate_xml()

Class: cc_validate_type  - X-Ref

__construct($type, $location)   X-Ref


validate($element)   X-Ref
Validates the item

param: string $element - File path for the xml
return: boolean

Class: manifest_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: manifest10_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: blti_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: assesment_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: discussion_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: weblink_validator  - X-Ref

__construct($location)   X-Ref
No description

Functions
Functions that are not part of a class:

__construct()   X-Ref


__clone()   X-Ref
No description

instance()   X-Ref

return: error_messages

add($msg)   X-Ref

param: string $msg

errors()   X-Ref

return: array

reset()   X-Ref
Empties the error content


to_string($web = false)   X-Ref

param: boolean $web
return: string

__toString()   X-Ref
Casting to string method

return: string

__construct($reset=false)   X-Ref

param: boolean $reset

collect_errors($filename='')   X-Ref
No description

__destruct()   X-Ref
No description

collect()   X-Ref
No description

validate_xml($xml, $schema)   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1