Skip to content

arnal/dt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Kohana DateType library

Working with DT is pretty easy:

$email = DT_Email("example@example.org");

$email->is_valid(); 				// => TRUE
$email->is_null(); 					// => FALSE
print $value; 						// => "example@example.org"

print $value->input('my_email');	
// => "<input type='text' name='my_email' value='example@example.org' />

Other examples:

DT::factory('wrong@email')->is_valid();	 // => FALSE

About

DT (DataTypes) for Arnal/Kohana3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages