hi I am using Phalcon Datatables Plugin based on that source files are in my plugins folder and I"ve already registered that
php "pluginsDir" => APP_PATH . "/app/plugins/",
I"ve got my own namespace
php $dispatcher->setDefaultNamespace("MyNS\Controllers");
DataTables has its own namespace as well.
when I try to use it, it couldn"t find classname DataTable
My Controller
namespace MyNS\Controllers;
...
use DataTables\DataTable;
...
use \DataTables\DataTable;
$dataTables = new DataTable();
...
$dataTables = new \DataTable();
...
$dataTables = new \DataTables\DataTable();
...
Class "DataTables\DataTable" not found in none of them worked..!