+ [task#121581,0.5h,doing] add addDrill function.
This commit is contained in:
@@ -129,6 +129,14 @@ class pivotState
|
||||
*/
|
||||
public $filters;
|
||||
|
||||
/**
|
||||
* Pivot state drills.
|
||||
*
|
||||
* @var array
|
||||
* @access public
|
||||
*/
|
||||
public $drills;
|
||||
|
||||
/**
|
||||
* Pivot state step.
|
||||
*
|
||||
@@ -470,6 +478,17 @@ class pivotState
|
||||
$this->settings['columns'][] = $this->getDefaultColumn();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add drill.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function addDrill($type = 'auto')
|
||||
{
|
||||
$this->drills[] = array('type' => $type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get defualt column.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user