18 parent::__construct(
$identifier,
"div",
"ui steps");
28 $itemO=
new HtmlStepItem(
"item-".\
sizeof($this->content),$value);
54 $count=$this->
count();
56 for($i=$this->_startStep;$i<$count;$i++){
57 $step=$this->content[$i];
58 $step->removeStatus();
60 $step->setCompleted();
61 elseif ($i===$activestep)
67 foreach ($this->content as $step){
68 $step->removeStatus();
70 if($activestep<$count)
71 $this->content[$activestep]->setActive();
77 if(isset($this->_activeStep) && \is_numeric($this->_activeStep))
79 return parent::compile($js,$view);
88 if(isset($toElement)){
89 $toElement->addToPropertyCtrl(
"class",
"attached",array(
"attached"));
91 return $this->
addToPropertyCtrl(
"class", $side.
" attached",Side::getConstantValues(
"attached"));
Base class for Html collections.
addItem($item)
adds and returns an item
propertyContains($propertyName, $value)
Base class for Semantic Html collections.
addToProperty($name, $value, $separator=" ")
addToPropertyCtrl($name, $value, $typeCtrl)
setActiveStep($_activeStep)
createItem($value)
The item factory.
setStartStep($_startStep)
setAttached($side="", HtmlDoubleElement $toElement=NULL)
__construct( $identifier, $steps=array())
compile(JsUtils $js=NULL, &$view=NULL)