davinci api
Overview
$ctrl is an function for accessing the controller objects that control the components in a blog. Components are added to a blog by adding the config object to the blogs $config tree. This is typically accomplished by calling $page.add and passing in the config. The next step is that a controller object for the component is created from the config. After the controller has been created, it is accessible by querying the $ctrl object.
Methods

/list all controllers in the blog
 var list = $ctrl();

//get the controller with id 'chart'
var chart = $ctrl('chart');
		

$ctrl.add(ctrl);
		

$ctrl.remove('chart');
		

Contents