public function newListItemExistePlayer($param) { // Init line $line = ""; // Col 1 $line .= Xlist::colUnique(['data' => $this->player->nation->getFlag()]); // Ligne 1 $line .= Xlist::openLigne(); // OpenLink - Nom $line .= Xlist::openLink(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['openRoute'], 'data' => $this->player->fullName(), 'id' => $this->id]); // Hcp $line .= Xlist::ligneAdd(['data' => $this->player->hcp]); // Delete $line .= Xlist::butDelete(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['deleteRoute'], 'id' => $this->id]); // Edit $line .= Xlist::butEdit(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['editRoute'], 'id' => $this->id]); // Select $line .= Xlist::butSelect(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'id' => $this->id]); $line .= Xlist::ligneAdd(['data' => $this->player->sexe->icone()]); $line .= Xlist::ligneAdd(['data' => $this->player->age()]); /* $line .= Xlist::ligneAdd(['data'=>$this->competcategorie->categorie->libelle()]); $boite = gl('Boites') . ' ' . $this->competcategorie->tee->icone(); $line .= Xlist::ligneAdd(['data'=>$boite]); */ $line .= Xlist::closeLigne(); return $line; }
public function newListItem($param) { // Init line $line = ""; // Col 1 $line .= Xlist::colUnique(['data' => $this->iconeActif()]); // Ligne 1 $line .= Xlist::openLigne(); // OpenLink - Nom $line .= Xlist::openLink(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['openRoute'], 'data' => $this->nom, 'id' => $this->id]); // Delete $line .= Xlist::butDelete(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['deleteRoute'], 'id' => $this->id]); // Edit $line .= Xlist::butEdit(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['editRoute'], 'id' => $this->id]); // Select $line .= Xlist::butSelect(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'id' => $this->id]); // A la ligne $line .= Xlist::ligneBreak(); // Ligne 2 $line .= Xlist::ligneAdd(['data' => $this->typedomaine->libelle]); $nbCompets = gl('Nombre de compétitions') . ' : ' . $this->compets->count(); $line .= Xlist::ligneAdd(['data' => $nbCompets]); $line .= Xlist::closeLigne(); return $line; }
public function newListItem($param) { // Init line $line = ""; // Col 1 $line .= Xlist::colUnique(['data' => $this->club->region->nation->getFlag()]); // Ligne 1 $line .= Xlist::openLigne(); // OpenLink - Nom $line .= Xlist::openLink(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['openRoute'], 'data' => $this->club->nom, 'id' => $this->id]); // Delete $line .= Xlist::butDelete(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['deleteRoute'], 'id' => $this->id]); // Edit $line .= Xlist::butEdit(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['editRoute'], 'id' => $this->id]); // Select $line .= Xlist::butSelect(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'afterRoute' => $param['afterRoute'], 'id' => $this->id]); // A la ligne $line .= Xlist::ligneBreak(); // Ligne 2 $line .= Xlist::ligneAdd(['data' => $this->club->region->libelle]); // Close $line .= Xlist::closeLigne(); return $line; }
public function newListItem($param) { // Init line $line = ""; // Col 1 $line .= Xlist::colUnique(['data' => $this->nation->getFlag()]); // Ligne 1 $line .= Xlist::openLigne(); // OpenLink - Nom $line .= Xlist::openLink(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['openRoute'], 'data' => $this->fullName(), 'id' => $this->id]); // Hcp $line .= Xlist::ligneAdd(['data' => $this->hcp]); // Delete $line .= Xlist::butDelete(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['deleteRoute'], 'id' => $this->id]); // Edit $line .= Xlist::butEdit(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['editRoute'], 'id' => $this->id]); // Select $line .= Xlist::butSelect(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'id' => $this->id]); // Place $line .= Xlist::butPlace(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'id' => $this->id, 'moreParams' => $param['moreParams']]); // A la ligne $line .= Xlist::ligneBreak(); // Ligne 2 $line .= Xlist::ligneAdd(['data' => $this->sexe->icone()]); $line .= Xlist::ligneAdd(['data' => $this->age()]); $line .= Xlist::closeLigne(); return $line; }
public function newListItem($param) { // Init line $line = ""; // Col 1 $line .= Xlist::colUnique(['data' => $this->sexe->icone()]); // Ligne 1 $line .= Xlist::openLigne(); // OpenLink - Nom $line .= Xlist::openLink(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['openRoute'], 'data' => $this->nom, 'id' => $this->id]); // Delete $line .= Xlist::butDelete(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['deleteRoute'], 'id' => $this->id]); // Edit $line .= Xlist::butEdit(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['editRoute'], 'id' => $this->id]); // Select $line .= Xlist::butSelect(['actions' => $param['actions'], 'backUrl' => $param['backUrl'], 'route' => $param['selectRoute'], 'id' => $this->id]); // A la ligne $line .= Xlist::ligneBreak(); // Ligne 2 $line .= Xlist::ligneAdd(['data' => $this->showHcp()]); $line .= Xlist::ligneAdd(['data' => $this->showAge()]); $boite = gl('Boites') . ' ' . $this->tee->icone(); $line .= Xlist::ligneAdd(['data' => $boite]); $line .= Xlist::closeLigne(); return $line; }