register() public method

(DO NOT CALL THIS DIRECTLY) Register the column to this search.
public register ( Column $column ) : Column
$column Column The column to register, must not be null or empty.
return Column The same column provided, used for chaining purposes.
Esempio n. 1
0
 /**
  * Creates a new column.
  *
  * @param Newscoop\Service\Model\Search\Search $search
  *		The search instance that is the owner of this Column.
  */
 function __construct(Search $search)
 {
     Validation::notEmpty($search, 'search');
     $this->search = $search;
     $this->search->register($this);
 }