Skip to content

Instantly share code, notes, and snippets.

@rakotomandimby
Last active December 19, 2015 01:29
Show Gist options
  • Save rakotomandimby/5876735 to your computer and use it in GitHub Desktop.
Save rakotomandimby/5876735 to your computer and use it in GitHub Desktop.
$verset[]= new ModelVerset($this->book, $this->chapter, $variable);
<?php
class ModelVerset
{
public function __construct ($book, $chapter, $verset)
{
$this->book = $book;
$this->chapter= $chapter;
$this->verset = $verset;
$this->book_fr= $this->setBookFrFromRef();
$this->book_en= $this->setBookEnFromRef();
$this->text_fr= $this->setTextFrFromRef();
$this->text_en= $this->setTextEnFromRef();
}
public function setBookFrFromRef()
{
return //;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment