File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 22namespace Ajax \common \html \traits ;
33use Ajax \JsUtils ;
44
5+ /**
6+ * @author jc
7+ * @property string $identifier
8+ * @property string $root
9+ * @property string $attr
10+ */
511trait NavElementTrait{
12+
13+ abstract public function contentAsString ();
614 /**
715 * Generate the jquery script to set the elements to the HtmlNavElement
816 * @param JsUtils $jsUtils
Original file line number Diff line number Diff line change @@ -272,7 +272,8 @@ public function getCaption($index){
272272 public function getCaptions (){
273273 if (isset ($ this ->captions )){
274274 $ captions = \array_values ($ this ->captions );
275- for ($ i =\sizeof ($ captions );$ i <$ this ->count ();$ i ++){
275+ $ captionsSize =\sizeof ($ captions );
276+ for ($ i =$ captionsSize ;$ i <$ this ->count ();$ i ++){
276277 $ captions []="" ;
277278 }
278279 }else {
You can’t perform that action at this time.
0 commit comments