Skip to content

Commit

Permalink
Fixing typo generateLikeContians to generateLikeContains
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamshory, MT committed Aug 2, 2024
1 parent 25d12b0 commit 8bc689b
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 100 deletions.
62 changes: 31 additions & 31 deletions manual/includes/_entity.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,21 +820,21 @@ function createAlbumSpecification($inputGet)
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate1);

$predicate2 = new PicoPredicate();
$predicate2->like('title', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate2->like('title', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate2);
}
if($inputGet->getTitle() != "")
{
$predicate3 = new PicoPredicate();
$predicate3->like('name', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate3->like('name', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate3);

$predicate4 = new PicoPredicate();
$predicate4->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate4->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate4);
}

Expand Down Expand Up @@ -934,14 +934,14 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesification->addAnd($predicate1);
}

if($inputGet->getTitle() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate1->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesification->addAnd($predicate1);
}

Expand Down Expand Up @@ -996,7 +996,7 @@ class SpecificationUtil
if($inputGet->getProducerName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('producer.name', PicoPredicate::generateLikeContians($inputGet->getProducerName()));
$predicate1->like('producer.name', PicoPredicate::generateLikeContains($inputGet->getProducerName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1007,21 +1007,21 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate1);

$predicate2 = new PicoPredicate();
$predicate2->like('title', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate2->like('title', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate2);
}
if($inputGet->getTitle() != "")
{
$predicate3 = new PicoPredicate();
$predicate3->like('name', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate3->like('name', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate3);

$predicate4 = new PicoPredicate();
$predicate4->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate4->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate4);
}

Expand All @@ -1031,7 +1031,7 @@ class SpecificationUtil
if($inputGet->getSubtitle() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('subtitle', PicoPredicate::generateLikeContians($inputGet->getSubtitle()));
$predicate1->like('subtitle', PicoPredicate::generateLikeContains($inputGet->getSubtitle()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1045,7 +1045,7 @@ class SpecificationUtil
if($inputGet->getVocalistName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('vocalist.name', PicoPredicate::generateLikeContians($inputGet->getVocalistName()));
$predicate1->like('vocalist.name', PicoPredicate::generateLikeContains($inputGet->getVocalistName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1059,7 +1059,7 @@ class SpecificationUtil
if($inputGet->getComposerName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('composer.name', PicoPredicate::generateLikeContians($inputGet->getComposerName()));
$predicate1->like('composer.name', PicoPredicate::generateLikeContains($inputGet->getComposerName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1073,7 +1073,7 @@ class SpecificationUtil
if($inputGet->getArrangerName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('arranger.name', PicoPredicate::generateLikeContians($inputGet->getArrangerName()));
$predicate1->like('arranger.name', PicoPredicate::generateLikeContains($inputGet->getArrangerName()));
$spesification->addAnd($predicate1);
}

Expand Down Expand Up @@ -1145,7 +1145,7 @@ class SpecificationUtil
if($inputGet->getTitle() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate1->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesification->addAnd($predicate1);
}

Expand Down Expand Up @@ -1200,21 +1200,21 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate1);

$predicate2 = new PicoPredicate();
$predicate2->like('title', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate2->like('title', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate2);
}
if($inputGet->getTitle() != "")
{
$predicate3 = new PicoPredicate();
$predicate3->like('name', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate3->like('name', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate3);

$predicate4 = new PicoPredicate();
$predicate4->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate4->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate4);
}

Expand Down Expand Up @@ -1271,7 +1271,7 @@ class SpecificationUtil
if($inputGet->getLyric() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('lyric', PicoPredicate::generateLikeContians($inputGet->getLyric()));
$predicate1->like('lyric', PicoPredicate::generateLikeContains($inputGet->getLyric()));
$spesification->addAnd($predicate1);
}

Expand Down Expand Up @@ -1311,21 +1311,21 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate1);

$predicate2 = new PicoPredicate();
$predicate2->like('title', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate2->like('title', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesificationTitle->addOr($predicate2);
}
if($inputGet->getTitle() != "")
{
$predicate3 = new PicoPredicate();
$predicate3->like('name', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate3->like('name', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate3);

$predicate4 = new PicoPredicate();
$predicate4->like('title', PicoPredicate::generateLikeContians($inputGet->getTitle()));
$predicate4->like('title', PicoPredicate::generateLikeContains($inputGet->getTitle()));
$spesificationTitle->addOr($predicate4);
}

Expand Down Expand Up @@ -1362,7 +1362,7 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1388,7 +1388,7 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1414,7 +1414,7 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesification->addAnd($predicate1);
}

Expand All @@ -1440,21 +1440,21 @@ class SpecificationUtil
if($inputGet->getName() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('name', PicoPredicate::generateLikeContians($inputGet->getName()));
$predicate1->like('name', PicoPredicate::generateLikeContains($inputGet->getName()));
$spesification->addAnd($predicate1);
}

if($inputGet->getUsername() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('username', PicoPredicate::generateLikeContians($inputGet->getUsername()));
$predicate1->like('username', PicoPredicate::generateLikeContains($inputGet->getUsername()));
$spesification->addAnd($predicate1);
}

if($inputGet->getEmail() != "")
{
$predicate1 = new PicoPredicate();
$predicate1->like('email', PicoPredicate::generateLikeContians($inputGet->getEmail()));
$predicate1->like('email', PicoPredicate::generateLikeContains($inputGet->getEmail()));
$spesification->addAnd($predicate1);
}

Expand Down
2 changes: 1 addition & 1 deletion manual/includes/_specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ greaterThanOrEquals
Static Methods:
generateLikeStarts
generateLikeEnds
generateLikeContians
generateLikeContains
Loading

0 comments on commit 8bc689b

Please sign in to comment.