Example #1
0
 public function Analyse($title, Subarea $subarea = null, State $state = null, $date = null)
 {
     $this->name_table = "analysis";
     parent::Publication($title, $subarea, $state, $date);
     $this->comments = new ArrayObject();
     $this->setLink(StringManager::removeSpecialChars($title));
 }
Example #2
0
 public function testEndsWith()
 {
     $this->assertTrue($this->string->endsWith('asdasd', 'asd'));
     $this->assertFalse($this->string->endsWith('dasdasd', 'sasd'));
 }
Example #3
0
 private function formatName($name)
 {
     return StringManager::removeSpecialChars($name);
 }