Hola, En la siguiente función
function getNodeByPath($Store, $path, $node = null)
{
$bits = split('/', $path);
if ($node == null) {
$node = $Store->getCompanyHome();
}
/* @var $node Node */
foreach ($bits as $bit) {
// Skip up until we have the parts after the company home
if (empty($bit) || $bit == 'Company Home') {
continue;
}
// Get the node for the current bit. If the current
// "bit" doesn't exist, then
$children = $node->getChildren();
foreach ($children as $child) {
$childNode = $child->getChild();
if ($childNode->cm_name == $bit) {
$node = $childNode;
// Cheat and skip to the next 'bit' to scan
continue 2;
}
}
$node = null;
break;
}
return $node;
}
Me he dado cuenta que sólo me devuelve en la lista los primeros 1000 nodos de una carpeta (en la que tenemos unos 2500). ¿Este límite se fija en algún fichero de configuración de alfresco?He estado buscando por la documentación y no lo he encontrado.Un saludo y gracias.