Can someone tell me why am I getting this junk for uuid, when I do
Code:
$objModel = \FilesModel::findMultipleByPaths(array('files/doc/download/wai-pageauth.pdf'));
var_dump($objModel); gives me following:
Code:
object(Contao\Model\Collection)#17 (3) {
["strTable":protected]=>
string(8) "tl_files"
["intIndex":protected]=>
int(-1)
["arrModels":protected]=>
array(1) {
[0]=>
object(Contao\FilesModel)#15 (5) {
["arrData":protected]=>
array(11) {
["id"]=>
string(3) "180"
["pid"]=>
string(16) "���V����)b��"
["tstamp"]=>
string(10) "1392635564"
["uuid"]=>
string(16) "l�p���`�)b��"
["type"]=>
string(4) "file"
["path"]=>
string(35) "files/doc/download/wai-pageauth.pdf"
["extension"]=>
string(3) "pdf"
["hash"]=>
string(32) "ca4799f70a967661fa7a302cddabc360"
["found"]=>
string(1) "1"
["name"]=>
string(16) "wai-pageauth.pdf"
["meta"]=>
NULL
}
["arrModified":protected]=>
array(0) {
}
["arrRelations":protected]=>
array(0) {
}
["arrRelated":protected]=>
array(0) {
}
["blnPreventSaving":protected]=>
bool(false)
}
}
}
Bookmarks